fix: Bei den Einstellungen stimmt der Blauton nicht

This commit is contained in:
ISA
2025-06-18 11:28:09 +02:00
parent d7d6a2db30
commit 5f0577c004
7 changed files with 12 additions and 14 deletions

View File

@@ -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",