forked from MapComplete/MapComplete
Themes(sauna): add sauna question to sports centre
This commit is contained in:
parent
c701247066
commit
5f932c80a3
3 changed files with 33 additions and 2 deletions
|
|
@ -505,7 +505,11 @@ class WarnForUnsubstitutedLayersInTheme extends DesugaringStep<ThemeConfigJson>
|
|||
if (layer["builtin"] !== undefined) {
|
||||
continue
|
||||
}
|
||||
if (layer["source"]["geojson"] !== undefined) {
|
||||
if(layer["override"]!==undefined){
|
||||
context.err("Got an `override` block without a `builtin`-specification")
|
||||
continue
|
||||
}
|
||||
if (layer["source"]?.["geojson"] !== undefined) {
|
||||
// We turn a blind eye for import layers
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue