diff --git a/frontend/src/component/location/dialog.vue b/frontend/src/component/location/dialog.vue index 92b45a85b..9addbbc1a 100644 --- a/frontend/src/component/location/dialog.vue +++ b/frontend/src/component/location/dialog.vue @@ -12,7 +12,7 @@ @after-enter="afterEnter" @after-leave="afterLeave" > - + mdi-close @@ -207,11 +207,13 @@ export default { } }, afterEnter() { + this.$view.enter(this); if (this.currentLat && this.currentLng && !(this.currentLat === 0 && this.currentLng === 0)) { this.fetchLocationInfo(this.currentLat, this.currentLng); } }, afterLeave() { + this.$view.leave(this); this.location = null; this.locationLoading = false; this.resetSearchState();