forked from MapComplete/MapComplete
Fix generateLayerOverviews
This commit is contained in:
parent
98c40822a2
commit
8ae679d075
2 changed files with 7 additions and 3 deletions
|
@ -307,6 +307,10 @@ class ExpandRewrite<T> extends Conversion<T | RewritableConfigJson<T>, T[]> {
|
|||
|
||||
convert(json: T | RewritableConfigJson<T>, context: string): { result: T[]; errors?: string[]; warnings?: string[]; information?: string[] } {
|
||||
|
||||
if(json === null || json === undefined){
|
||||
return {result: []}
|
||||
}
|
||||
|
||||
if (json["rewrite"] === undefined) {
|
||||
|
||||
// not a rewrite
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue