comparison client/src/components/App.vue @ 3298:ec27ee21f7bc

client: define sections: added route and support in context box
author Markus Kottlaender <markus@intevation.de>
date Thu, 16 May 2019 16:33:29 +0200
parents 9a02b770c2e6
children 869505c5087b
comparison
equal deleted inserted replaced
3297:0358bf723769 3298:ec27ee21f7bc
76 name: "app", 76 name: "app",
77 computed: { 77 computed: {
78 ...mapState("user", ["isAuthenticated"]), 78 ...mapState("user", ["isAuthenticated"]),
79 ...mapState("application", ["contextBoxContent", "showSearchbar"]), 79 ...mapState("application", ["contextBoxContent", "showSearchbar"]),
80 isMapVisible() { 80 isMapVisible() {
81 return /importconfiguration|importoverview|stretches|review|bottlenecks|mainview/.test( 81 return /importconfiguration|importoverview|stretches|sections|review|bottlenecks|mainview/.test(
82 this.$route.name 82 this.$route.name
83 ); 83 );
84 }, 84 },
85 searchContainer() { 85 searchContainer() {
86 return [ 86 return [