diff client/src/components/Sidebar.vue @ 2983:2e7c0f9cff24

client: removed unnecessary component property
author Markus Kottlaender <markus@intevation.de>
date Tue, 09 Apr 2019 16:42:58 +0200
parents 8f266dc8b4e3
children 1b8bb4f89227
line wrap: on
line diff
--- a/client/src/components/Sidebar.vue	Tue Apr 09 16:31:55 2019 +0200
+++ b/client/src/components/Sidebar.vue	Tue Apr 09 16:42:58 2019 +0200
@@ -106,7 +106,6 @@
 
 export default {
   name: "sidebar",
-  props: ["routeName"],
   data() {
     return {
       stagingNotifications: null
@@ -146,7 +145,7 @@
       return (
         this.showContextBox &&
         this.contextBoxContent === item &&
-        this.routeName == "mainview"
+        this.$route.name == "mainview"
       );
     }
   },