fix: Digitale Ausgänge Zustand , Name und Schalten mit neuer CPL Update

This commit is contained in:
ISA
2025-06-18 11:38:54 +02:00
parent 5f0577c004
commit c927c4d0cb
5 changed files with 8 additions and 6 deletions

View File

@@ -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.411
NEXT_PUBLIC_APP_VERSION=1.6.412

View File

@@ -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.411
NEXT_PUBLIC_APP_VERSION=1.6.412

View File

@@ -25,7 +25,9 @@ export default function DigitalOutputsWidget({ openOutputModal }) {
try {
if (isCPL) {
window.location.href = `/CPL?digitalOutputs.html&RC${id - 1}`;
window.location.href = `/CPL?digitalOutputs.html&DAS0${id}=${
updatedOutputs[id - 1].status ? 1 : 0
}`;
} else {
await fetch("/api/cpl/updateDigitalOutputsHandler", {
method: "POST",

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "cpl-v4",
"version": "1.6.411",
"version": "1.6.412",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "cpl-v4",
"version": "1.6.411",
"version": "1.6.412",
"dependencies": {
"@fontsource/roboto": "^5.1.0",
"@iconify-icons/ri": "^1.2.10",

View File

@@ -1,6 +1,6 @@
{
"name": "cpl-v4",
"version": "1.6.411",
"version": "1.6.412",
"private": true,
"scripts": {
"dev": "next dev",