Chore: fix build

This commit is contained in:
Pieter Vander Vennet 2024-09-15 01:12:24 +02:00
parent 114f484faf
commit a867379cd4

View file

@ -426,7 +426,8 @@ class LayerOverviewUtils extends Script {
priviliged.delete("summary")
priviliged.delete("last_click")
if (priviliged.size > 0) {
const isBoostrapping = AllSharedLayers.getSharedLayersConfigs().size == 0
if (!isBoostrapping && priviliged.size > 0) {
throw (
"Priviliged layer " +
Array.from(priviliged).join(", ") +