Allow to switch to previously discovered hidden themes
This commit is contained in:
parent
ee77dd0fc9
commit
6530e6c3b0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue