From f3abf417c784ccd4d801037efdff4cc9ed365d5f Mon Sep 17 00:00:00 2001 From: ISA Date: Wed, 6 Nov 2024 22:46:32 +0100 Subject: [PATCH] =?UTF-8?q?Schleifen=20anzeigen=20f=C3=BCr=20alle=2032=20M?= =?UTF-8?q?odule=20f=C3=BCr=20alle=204=20Racks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/modules/Kue705FO.jsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/modules/Kue705FO.jsx b/components/modules/Kue705FO.jsx index a504b55..f839678 100644 --- a/components/modules/Kue705FO.jsx +++ b/components/modules/Kue705FO.jsx @@ -391,6 +391,13 @@ function Kue705FO({ console.log(`Modulname aktualisiert für Slot ${slotIndex}:`, modulName); }, [modulName, slotIndex]); //--------------------------------------------------- + // Aktualisiert den Schleifenwiderstand, wenn sich der `schleifenwiderstand`-Prop ändert + useEffect(() => { + if (activeButton === "Schleife") { + setLoopDisplayValue(schleifenwiderstand); + } + }, [schleifenwiderstand, activeButton]); + //--------------------------------------------------- return (
{kueOnline === 1 ? (