Skip to content

Commit

Permalink
reset search input on menu close
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Sep 14, 2023
1 parent a73e3ac commit 3a51f2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/map/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@
<div class="mapContainer" ref="mapContainer" v-loading="!mapLoaded">
<l-map style="height: 100%; width: 100%" :zoom="zoom" :center="center" ref="map">
<button class="resetMapButton" @click="resetMap()">Reset Map</button>
<leftBuildingMenu class="hideMenuButton" />
<div @click="resetSearchInput()">
<leftBuildingMenu class="hideMenuButton" />
</div>
<l-tile-layer :url="url" :attribution="attribution"></l-tile-layer>
<l-geo-json
v-for="building of this.$store.getters['map/buildings']"
Expand Down

0 comments on commit 3a51f2f

Please sign in to comment.