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_EXPORT_STATIC=false
NEXT_PUBLIC_USE_CGI=false NEXT_PUBLIC_USE_CGI=false
# App-Versionsnummer # 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_EXPORT_STATIC=true
NEXT_PUBLIC_USE_CGI=true NEXT_PUBLIC_USE_CGI=true
# App-Versionsnummer # 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 { try {
if (isCPL) { 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 { } else {
await fetch("/api/cpl/updateDigitalOutputsHandler", { await fetch("/api/cpl/updateDigitalOutputsHandler", {
method: "POST", method: "POST",

4
package-lock.json generated
View File

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

View File

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