forked from MapComplete/MapComplete
Search: fix loading previous searches, add 'clear history' buttons
This commit is contained in:
parent
d90b6d82d0
commit
2ce9e7ca3c
5 changed files with 24 additions and 25 deletions
|
@ -47,7 +47,7 @@
|
|||
if (entry.feature?.properties?.id) {
|
||||
state.selectedElement.set(entry.feature)
|
||||
}
|
||||
state.recentlySearched.addSelected(entry)
|
||||
state.searchState.recentlySearched.addSelected(entry)
|
||||
dispatch("select")
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue