In Redux Slice mapLayersSlice

state[key] = system.Allow === 1 && system.Map === 1;
This commit is contained in:
ISA
2025-08-11 10:04:03 +02:00
parent 85266aa1ed
commit 7c89d8dae5
5 changed files with 6 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ const mapLayersSlice = createSlice({
state[key] = existingVisibility[key];
} else {
// Verwende Allow-Wert als Standard (nur für neue Systeme)
state[key] = system.Allow === 1;
state[key] = system.Allow === 1 && system.Map === 1;
}
});
},