diff --git a/.env.development b/.env.development index 1152188..0dd838d 100644 --- a/.env.development +++ b/.env.development @@ -6,5 +6,5 @@ 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.410 +NEXT_PUBLIC_APP_VERSION=1.6.411 diff --git a/.env.production b/.env.production index 0ee7eac..33546bc 100644 --- a/.env.production +++ b/.env.production @@ -5,4 +5,4 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.410 \ No newline at end of file +NEXT_PUBLIC_APP_VERSION=1.6.411 \ No newline at end of file diff --git a/components/main/einausgaenge/DigitalOutputsWidget.tsx b/components/main/einausgaenge/DigitalOutputsWidget.tsx index f285a6d..96e5aa0 100644 --- a/components/main/einausgaenge/DigitalOutputsWidget.tsx +++ b/components/main/einausgaenge/DigitalOutputsWidget.tsx @@ -25,9 +25,7 @@ export default function DigitalOutputsWidget({ openOutputModal }) { try { if (isCPL) { - window.location.href = `/CPL?digitalOutputs.html&RC${id}=${ - updatedOutputs[id - 1].status ? 1 : 0 - }`; + window.location.href = `/CPL?digitalOutputs.html&RC${id - 1}`; } else { await fetch("/api/cpl/updateDigitalOutputsHandler", { method: "POST", diff --git a/package-lock.json b/package-lock.json index 3914f2d..1e1f042 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.410", + "version": "1.6.411", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.410", + "version": "1.6.411", "dependencies": { "@fontsource/roboto": "^5.1.0", "@iconify-icons/ri": "^1.2.10", diff --git a/package.json b/package.json index 42240b9..ec2a137 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.410", + "version": "1.6.411", "private": true, "scripts": { "dev": "next dev", diff --git a/pages/einstellungen.tsx b/pages/einstellungen.tsx index cb0fa87..cc9699a 100644 --- a/pages/einstellungen.tsx +++ b/pages/einstellungen.tsx @@ -23,7 +23,7 @@ export default function Settings() {