From 42a37396b3318d2541d9b99ef5e171a56f29ff25 Mon Sep 17 00:00:00 2001 From: ISA Date: Wed, 16 Oct 2024 08:32:23 +0200 Subject: [PATCH] wechsel zwischen Scleife und TDR Buttons , Einheit anzeigen --- app/kabelueberwachung/page.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/kabelueberwachung/page.jsx b/app/kabelueberwachung/page.jsx index 51e8b5a..f33f67d 100644 --- a/app/kabelueberwachung/page.jsx +++ b/app/kabelueberwachung/page.jsx @@ -24,6 +24,10 @@ function Kabelueberwachung() { if (window.kueRes && Array.isArray(window.kueRes)) { setSchleifenwiderstand(window.kueRes); // Store the resistance values from the global variable } + + if (window.kueOnline && Array.isArray(window.kueOnline)) { + setKueOnline(window.kueOnline); // Store the module status from the global variable + } }, []); // Data for each rack, using isolation values from kueIso, kueName, and schleifenwiderstand