forked from MapComplete/MapComplete
Merge branch 'feature/android-capacitator' of github.com:pietervdvn/MapComplete into feature/android-capacitator
This commit is contained in:
commit
a9b6b6148e
370 changed files with 5765 additions and 3198 deletions
|
|
@ -90,7 +90,9 @@
|
|||
}
|
||||
|
||||
let officialSearched: Store<MinimalThemeInformation[]> = filtered(
|
||||
new ImmutableStore(officialThemes)
|
||||
osmConnection.isLoggedIn.map((loggedIn) =>
|
||||
loggedIn ? officialThemes : officialThemes.filter((th) => th.id !== "personal")
|
||||
)
|
||||
)
|
||||
let hiddenSearched: Store<MinimalThemeInformation[]> = filtered(visitedHiddenThemes)
|
||||
let customSearched: Store<MinimalThemeInformation[]> = filtered(customThemes)
|
||||
|
|
@ -103,6 +105,9 @@
|
|||
}
|
||||
})
|
||||
|
||||
/**
|
||||
* Opens the first search candidate
|
||||
*/
|
||||
function applySearch() {
|
||||
const didRedirect = SearchUtils.applySpecialSearch(search.data)
|
||||
if (didRedirect) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue