Keep search results, only hide sidebar when closed

This commit is contained in:
2026-04-27 14:27:25 +01:00
parent a0b4a4b3f3
commit d2eb888dcf
9 changed files with 69 additions and 46 deletions

View File

@@ -193,6 +193,7 @@ export default class SearchRoute extends Route {
// Ensure pulse is stopped if we reach here
this.mapUi.stopSearch();
this.mapUi.setSearchResults(model);
this.mapUi.showSidebar();
// Store current search params to allow "Up" navigation from place details
const { q, category, lat, lon } = this.paramsFor('search');