Add more questions to the elevator theme

This commit is contained in:
Pieter Vander Vennet 2022-07-19 13:30:26 +02:00
parent e74b9022bf
commit 616c7afab0
5 changed files with 139 additions and 8 deletions

View file

@ -520,6 +520,10 @@ export class ValidateLayer extends DesugaringStep<LayerConfigJson> {
errors
}
}
if(json.title === undefined && json.tagRenderings !== undefined){
warnings.push(context + ": this layer does not have a title defined but it does have tagRenderings. Not having a title will disable the popups, resulting in an unclickable element.")
}
if (json["builtin"] !== undefined) {
errors.push(context + ": This layer hasn't been expanded: " + json)