diff --git a/components/DataSheet.js b/components/DataSheet.js index 5ab205684..90050642b 100644 --- a/components/DataSheet.js +++ b/components/DataSheet.js @@ -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 ( diff --git a/components/mainComponent/MapComponent.js b/components/mainComponent/MapComponent.js index 7dac1abe1..1df3f7c43 100644 --- a/components/mainComponent/MapComponent.js +++ b/components/mainComponent/MapComponent.js @@ -878,6 +878,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { }, []); //--------------------------------------------- + //-------------------------------------------- return ( <> diff --git a/config/appVersion.js b/config/appVersion.js index cc51919df..e88713802 100644 --- a/config/appVersion.js +++ b/config/appVersion.js @@ -1,2 +1,2 @@ // /config/appVersion -export const APP_VERSION = "1.1.135"; +export const APP_VERSION = "1.1.136";