diff --git a/frontend/components/FindAppropriateSchool.vue b/frontend/components/FindAppropriateSchool.vue index 526ad7a..bb1744f 100644 --- a/frontend/components/FindAppropriateSchool.vue +++ b/frontend/components/FindAppropriateSchool.vue @@ -124,11 +124,12 @@ export default { ...mapMutations({ mapSetAge: 'map/setAge', mapSetAppropriateSchool: 'map/setAppropriateSchool', + mapSetActiveTab: 'map/setActiveTab', }), showSchool() { this.mapSetAge(this.studentAge); this.mapSetAppropriateSchool(this.appropriateSchool); - this.$store.dispatch('map/show'); + this.mapSetActiveTab(1); }, }, }; diff --git a/frontend/components/Map.vue b/frontend/components/Map.vue index 88ed909..ce0ce86 100644 --- a/frontend/components/Map.vue +++ b/frontend/components/Map.vue @@ -12,17 +12,23 @@ {{ $t('components.Map.filter_tooltip') }} - +
{{ appropriateSchool }} - + + +
- +