diff --git a/src/Logic/Geocoding/ThemeSearch.ts b/src/Logic/Geocoding/ThemeSearch.ts index 088cae1840..7806138bdc 100644 --- a/src/Logic/Geocoding/ThemeSearch.ts +++ b/src/Logic/Geocoding/ThemeSearch.ts @@ -28,7 +28,7 @@ export default class ThemeSearch implements GeocodingProvider { const limit = options?.limit ?? 4 query = Utils.simplifyStringForSearch(query) const withMatch = ThemeSearch.allThemes - .filter(th => !th.hideFromOverview ) + .filter(th => !th.hideFromOverview || this._knownHiddenThemes.data.has(th.id)) .filter(th => th.id !== this._state.layout.id) .filter(th => MoreScreen.MatchesLayout(th, query)) .slice(0, limit + 1)