Do not load BWSamern-Ohne shapefiles when project is test
Deploy Standortplaner / deploy (push) Successful in 16s
Details
Deploy Standortplaner / deploy (push) Successful in 16s
Details
This commit is contained in:
parent
9d256198a6
commit
63ba610ca5
2
app.js
2
app.js
|
|
@ -1225,7 +1225,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||
|
||||
// Priority 2: Use globalThis.LAYER_CONFIG (Script-based config) or remote config
|
||||
// Only load local config layers if the project is the default (bwsamern-ohne)
|
||||
if (projId.toLowerCase() === 'bwsamern-ohne' || projId.toLowerCase() === 'test') {
|
||||
if (projId.toLowerCase() === 'bwsamern-ohne') {
|
||||
const layers = await resolveLayerConfig(isLocalFile, statusEl);
|
||||
if (layers) {
|
||||
await loadConfigLayers(layers);
|
||||
|
|
|
|||
Loading…
Reference in New Issue