Fix: don't show all items if favourites is shown

This commit is contained in:
Pieter Vander Vennet 2024-11-25 02:06:28 +01:00
parent ad4afbaf52
commit 3292307208
4 changed files with 42 additions and 20 deletions

View file

@ -159,7 +159,7 @@ export default class LayerConfig extends WithContextLoader {
if (json["minZoom"] !== undefined) {
throw "At " + context + ": minzoom is written all lowercase"
}
this.minzoomVisible = json.minzoomVisible ?? this.minzoom
this.minzoomVisible = json.minzoomVisible ?? 100
this.shownByDefault = json.shownByDefault ?? true
this.doCount = json.isCounted ?? this.shownByDefault ?? true
this.forceLoad = json.forceLoad ?? false