Schleifen anzeigen für alle 32 Module für alle 4 Racks

This commit is contained in:
ISA
2024-11-06 22:46:32 +01:00
parent 161ce87691
commit f3abf417c7

View File

@@ -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 (
<div className="relative bg-gray-300 w-[116px] h-[390px] border border-gray-400 scale-110 top-3">
{kueOnline === 1 ? (