diff --git a/src/UI/AllThemesGui.svelte b/src/UI/AllThemesGui.svelte index 9681c01da..99d2331d1 100644 --- a/src/UI/AllThemesGui.svelte +++ b/src/UI/AllThemesGui.svelte @@ -89,7 +89,7 @@ } let officialSearched: Store = filtered( - new ImmutableStore(officialThemes) + osmConnection.isLoggedIn.map(loggedIn => loggedIn ? officialThemes : officialThemes.filter(th => th.id !== "personal")) ) let hiddenSearched: Store = filtered(visitedHiddenThemes) let customSearched: Store = filtered(customThemes) @@ -102,6 +102,9 @@ } }) + /** + * Opens the first search candidate + */ function applySearch() { const didRedirect = SearchUtils.applySpecialSearch(search.data) if (didRedirect) {