Refactoring: introduce 'isPrivileged'

This commit is contained in:
Pieter Vander Vennet 2025-02-07 01:37:36 +01:00
parent 6ca055cf28
commit f405116bb1
11 changed files with 29 additions and 28 deletions

View file

@ -1128,7 +1128,7 @@ export class ValidateThemeEnsemble extends Conversion<
if (typeof layer.source === "string") {
continue
}
if (Constants.priviliged_layers.indexOf(<any>layer.id) >= 0) {
if (Constants.isPriviliged(layer)) {
continue
}
if (!layer.source) {