Fix mobile view

pull/180/head
Candid Dauth 2021-06-27 15:59:44 +02:00
rodzic abf90b9192
commit a7f319c5c7
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -66,6 +66,7 @@ export default class FacilMap extends Vue {
mounted(): void {
window.addEventListener("resize", this.handleResize);
this.handleResize();
}
beforeDestroy(): void {

Wyświetl plik

@ -42,7 +42,7 @@ export default class SearchFormTab extends Vue {
handleSetQuery(query: string, zoom = false, smooth = true): void {
this.searchForm.setSearchString(query);
this.searchForm.search(zoom, undefined, smooth);
this.mapContext.$emit("fm-search-box-show-tab", `fm${this.context.id}-search-form-tab`);
this.mapContext.$emit("fm-search-box-show-tab", `fm${this.context.id}-search-form-tab`, !!query);
}
}