diff --git a/.env.development b/.env.development index 12314a1..32c9ba8 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.875 +NEXT_PUBLIC_APP_VERSION=1.6.876 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index 751fbf4..9233132 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.875 +NEXT_PUBLIC_APP_VERSION=1.6.876 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d5ae230..54f6ae4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.876] – 2025-09-08 + +- WIP: dark mode Baugrüppenträger sttus + +--- ## [1.6.875] – 2025-09-08 - WIP: dark mode diff --git a/components/main/kabelueberwachung/KabelueberwachungView.tsx b/components/main/kabelueberwachung/KabelueberwachungView.tsx index c811e63..e00a49f 100644 --- a/components/main/kabelueberwachung/KabelueberwachungView.tsx +++ b/components/main/kabelueberwachung/KabelueberwachungView.tsx @@ -119,19 +119,23 @@ function KabelueberwachungView() { return (
- {[1, 2, 3, 4].map((rack) => ( - - ))} + {[1, 2, 3, 4].map((rack) => { + const isActive = Number(activeRack) === Number(rack); + return ( + + ); + })}
{( diff --git a/mocks/device-cgi-simulator/SERVICE/digitalOutputsMockData.json b/mocks/device-cgi-simulator/SERVICE/digitalOutputsMockData.json index 42fdc84..64f88b0 100644 --- a/mocks/device-cgi-simulator/SERVICE/digitalOutputsMockData.json +++ b/mocks/device-cgi-simulator/SERVICE/digitalOutputsMockData.json @@ -2,7 +2,7 @@ "win_da_state": [ 1, 1, - 1, + 0, 1 ], "win_da_bezeichnung": [ diff --git a/package-lock.json b/package-lock.json index 4b8abb6..936ebe1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.875", + "version": "1.6.876", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.875", + "version": "1.6.876", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index a26abb1..ea05cb4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.875", + "version": "1.6.876", "private": true, "scripts": { "dev": "next dev -p 3000",