From 41ecffcc11c55d2d5f941daeddaf0a9109841fcc Mon Sep 17 00:00:00 2001 From: Pavle Portic Date: Fri, 29 Mar 2019 01:17:14 +0100 Subject: [PATCH] Redirect to the tree list from index --- frontend/src/components/index.component.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/index.component.vue b/frontend/src/components/index.component.vue index 49e9325..f8296ab 100644 --- a/frontend/src/components/index.component.vue +++ b/frontend/src/components/index.component.vue @@ -1,6 +1,5 @@ @@ -16,6 +15,9 @@ export default { }, methods: { }, + mounted() { + this.$router.push({ name: 'trees' }); + }, };