Do not load BWSamern-Ohne shapefiles when project is test
Deploy Standortplaner / deploy (push) Successful in 16s Details

This commit is contained in:
Johannes Baumeister 2026-06-25 10:38:06 +02:00
parent 9d256198a6
commit 63ba610ca5
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -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);