# HG changeset patch # User Markus Kottlaender # Date 1554820978 -7200 # Node ID 2e7c0f9cff2499e01bd82c13e6262d90caf4cf68 # Parent ef79b635857ba284a501a82521f3cb1fbd640144 client: removed unnecessary component property diff -r ef79b635857b -r 2e7c0f9cff24 client/src/components/App.vue --- a/client/src/components/App.vue Tue Apr 09 16:31:55 2019 +0200 +++ b/client/src/components/App.vue Tue Apr 09 16:42:58 2019 +0200 @@ -3,7 +3,7 @@
- +
@@ -80,13 +80,9 @@ ...mapState("application", ["contextBoxContent", "showSearchbar"]), isMapVisible() { return /importconfiguration|importoverview|stretches|review|bottlenecks|mainview/.test( - this.routeName + this.$route.name ); }, - routeName() { - const routeName = this.$route.name; - return routeName; - }, searchContainer() { return [ "ml-2", diff -r ef79b635857b -r 2e7c0f9cff24 client/src/components/Sidebar.vue --- 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" ); } },