From 2d0b1f66938473900c23b990482d35b21d9acbd0 Mon Sep 17 00:00:00 2001 From: ISA Date: Thu, 7 Nov 2024 14:35:07 +0100 Subject: [PATCH] kueDetail link umbenannt --- components/modales/KueModal.jsx | 3 +-- components/modules/Kue705FO.jsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/components/modales/KueModal.jsx b/components/modales/KueModal.jsx index 3324f22..d26f3b2 100644 --- a/components/modales/KueModal.jsx +++ b/components/modales/KueModal.jsx @@ -105,7 +105,7 @@ function KueModal({ showModal, onClose, slot, onModulNameChange }) { } if (Object.keys(changes).length > 0) { - let url = `/cpl?/CPL/SERVICE/kueDetail.HTML&slot=${slot}`; + let url = `/cpl?/kabelueberwachung.html&slot=${slot}`; Object.keys(changes).forEach((paramKey) => { url += `&${paramKey}${slot}=${encodeURIComponent(changes[paramKey])}`; }); @@ -144,7 +144,6 @@ function KueModal({ showModal, onClose, slot, onModulNameChange }) { }; const handleDisplayEinschalten = () => { - //const url = `/CPL?/CPL/Service/kueDetail.HTML&KSD${slot}=1`; const url = `/CPL?/kabelueberwachung.html&KSD${slot}=1`; fetch(url, { method: "GET" }) .then((response) => { diff --git a/components/modules/Kue705FO.jsx b/components/modules/Kue705FO.jsx index e25604a..871e1d6 100644 --- a/components/modules/Kue705FO.jsx +++ b/components/modules/Kue705FO.jsx @@ -99,8 +99,7 @@ function Kue705FO({ setLoading(true); // Setze den Ladezustand auf true alert(`Schleifenmessung wird für Slot ${slot + 1} gestartet...`); - //fetch(`/CPL?Service/KUEdetail.HTML&KS_${slotFormat}=1&slot=${slot}`, { - fetch(`/CPL?index.html&KS_${slotFormat}=1&slot=${slot}`, { + fetch(`/CPL?kabelueberwachung.html&KS_${slotFormat}=1&slot=${slot}`, { method: "GET", }) .then((response) => {