Natuurpunt tweaks

This commit is contained in:
Pieter Vander Vennet 2022-01-31 14:34:06 +01:00
parent 618f61d3e8
commit 5a9f26081c
55 changed files with 1516 additions and 1368 deletions

View file

@ -73,6 +73,7 @@ export default class LayoutConfig {
} else {
this.language = json.language;
}
this.language = json.mustHaveLanguage ?? this.language
{
if (this.language.length == 0) {
throw `No languages defined. Define at least one language. (${context}.languages)`