fix: DataSheet control panel wird angezeigt
This commit is contained in:
@@ -104,7 +104,7 @@ function DataSheet() {
|
||||
key: system.Name.replace(/[\s\-]+/g, ""), // Internen Schlüssel für die MapLayersVisibility-Logik
|
||||
}))
|
||||
);
|
||||
}, [GisStationsStaticDistrict]);
|
||||
}, [GisStationsStaticDistrict, GisSystemStatic]);
|
||||
|
||||
const handleCheckboxChange = (key, event) => {
|
||||
if (editMode) return;
|
||||
@@ -159,15 +159,8 @@ function DataSheet() {
|
||||
return isUnique;
|
||||
});
|
||||
|
||||
setStationListing(
|
||||
filteredAreas.map((area, index) => ({
|
||||
id: area.IdArea || index + 1,
|
||||
name: area.Area_Name || "Unbekannt",
|
||||
}))
|
||||
);
|
||||
|
||||
console.log("📌 stationListing aktualisiert:", filteredAreas);
|
||||
}, [GisStationsStaticDistrict]);
|
||||
}, [GisStationsStaticDistrict, GisSystemStatic]);
|
||||
|
||||
//---------------------------
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user