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

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

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.410
NEXT_PUBLIC_APP_VERSION=1.6.411

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

4
package-lock.json generated
View File

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

View File

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

View File

@@ -23,7 +23,7 @@ export default function Settings() {
<button
className={`px-4 py-2 ${
activeTab === "tab1"
? "border-b-2 border-blue-500 text-blue-500"
? "border-b-2 border-littwin-blue text-littwin-blue"
: ""
}`}
onClick={() => setActiveTab("tab1")}
@@ -33,7 +33,7 @@ export default function Settings() {
<button
className={`px-4 py-2 ${
activeTab === "tab2"
? "border-b-2 border-blue-500 text-blue-500"
? "border-b-2 border-littwin-blue text-littwin-blue"
: ""
}`}
onClick={() => setActiveTab("tab2")}
@@ -43,7 +43,7 @@ export default function Settings() {
<button
className={`px-4 py-2 ${
activeTab === "tab3"
? "border-b-2 border-blue-500 text-blue-500"
? "border-b-2 border-littwin-blue text-littwin-blue"
: ""
}`}
onClick={() => setActiveTab("tab3")}
@@ -53,7 +53,7 @@ export default function Settings() {
<button
className={`px-4 py-2 ${
activeTab === "tab4"
? "border-b-2 border-blue-500 text-blue-500"
? "border-b-2 border-littwin-blue text-littwin-blue"
: ""
}`}
onClick={() => setActiveTab("tab4")}

View File

@@ -3,6 +3,6 @@
//var win_da_bezeichnung=["Ausgang1", "Ausgang2", "Ausgang3", "Ausgang4"];
var win_da_state=[<%=DAS01%>,<%=DAS02%>,<%=DAS03%>,<%=DAS04%>]; //neu aber ein Leere Array mit 4 indizes , Backend ist noch in Arbeit
var win_da_state=[<%=DAS0%>,<%=DAS1%>,<%=DAS2%>,<%=DAS3%>]; //neu aber ein Leere Array mit 4 indizes , Backend ist noch in Arbeit
var win_da_bezeichnung=[<%=DAN01%>,<%=DAN02%>,<%=DAN03%>,<%=DAN04%>]; //neu aber ein Leere Array mit 4 indizes , Backend ist noch in Arbeit
var win_da_bezeichnung=[<%=DAN0%>,<%=DAN1%>,<%=DAN2%>,<%=DAN3%>]; //neu aber ein Leere Array mit 4 indizes , Backend ist noch in Arbeit