forked from MapComplete/MapComplete
Fix: fix statistics page
This commit is contained in:
parent
4585f481ed
commit
5e9f391db5
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ export default class FilteredLayer {
|
|||
let isDisplayed: UIEventSource<boolean>
|
||||
let syncSelection: string = layer.syncSelection
|
||||
const userpreference: "default" | "no" | "local" | "theme-only" | "global" | string =
|
||||
osmConnection.getPreference("layer-override-sync-selection").data
|
||||
osmConnection?.getPreference("layer-override-sync-selection")?.data ?? "local"
|
||||
if (userpreference !== "default") {
|
||||
syncSelection = userpreference ?? syncSelection
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue