fix: DataSheet control panel wird angezeigt

This commit is contained in:
Ismail Ali
2025-05-21 22:42:56 +02:00
parent d003913741
commit 7222237e46
3 changed files with 4 additions and 10 deletions

View File

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

View File

@@ -878,6 +878,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => {
}, []); }, []);
//--------------------------------------------- //---------------------------------------------
//-------------------------------------------- //--------------------------------------------
return ( return (
<> <>

View File

@@ -1,2 +1,2 @@
// /config/appVersion // /config/appVersion
export const APP_VERSION = "1.1.135"; export const APP_VERSION = "1.1.136";