From 2dd8140350d0c691a09d1211c625025bf2ac6fc8 Mon Sep 17 00:00:00 2001 From: Sagi Frimer Date: Sat, 23 Mar 2019 21:17:50 +0200 Subject: [PATCH] Fixed sider bug when refreshing --- chameleon-client/src/App.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/chameleon-client/src/App.vue b/chameleon-client/src/App.vue index 4a6ff422a..94712ff1d 100644 --- a/chameleon-client/src/App.vue +++ b/chameleon-client/src/App.vue @@ -5,21 +5,21 @@ - + - Input - Threshold + Input + Threshold - + - System - Cameras + System + Cameras @@ -63,8 +63,8 @@ data () { return { isCollapsed: false, - openedNames: ['vision'], - activeName: "vision-input" + openedNames: ["/" + this.$route.path.split("/")[1]], + activeName: this.$route.path }; }, methods: {