forked from MapComplete/MapComplete
Remove priviliged layers from personal theme (as some of them will be added automatically anyways)
This commit is contained in:
parent
f2042a6db4
commit
b5d2746a2a
1 changed files with 1 additions and 2 deletions
|
@ -418,8 +418,7 @@ class PreparePersonalTheme extends DesugaringStep<LayoutConfigJson> {
|
||||||
return {result: json}
|
return {result: json}
|
||||||
}
|
}
|
||||||
|
|
||||||
json.layers = Array.from(this._state.sharedLayers.keys())
|
json.layers = Array.from(this._state.sharedLayers.keys()).filter(l => Constants.priviliged_layers.indexOf(l) < 0)
|
||||||
|
|
||||||
|
|
||||||
return {result: json};
|
return {result: json};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue