refactor: LoopChartActionBar Dropdowns auf Listbox mit Littwin-Design umgestellt

- selectedMode (DIA0/DIA1/DIA2) ersetzt durch Headless UI Listbox
- selectedSlotType (Schleifen-/Isolationswiderstand) ebenfalls als Listbox
- Einheitliches Dropdown-Design mit MeldungenView und TDRChartActionBar
- Littwin-blue Stil für ausgewählte Optionen integriert
This commit is contained in:
ISA
2025-07-08 07:01:38 +02:00
parent 92eb28e495
commit 3d37388173
8 changed files with 42 additions and 18 deletions

View File

@@ -20,12 +20,9 @@ const DigitalOutputs: React.FC = () => {
const [isOutputModalOpen, setIsOutputModalOpen] = useState(false);
useEffect(() => {
dispatch(getDigitalOutputsThunk());
const interval = setInterval(() => {
dispatch(getDigitalInputsThunk());
dispatch(getDigitalOutputsThunk());
}, 500);
}, 3000); // z.B. alle 3 Sekunden statt 0.5s
return () => clearInterval(interval);
}, [dispatch]);