✅ Logik für Farbe abhängig von Status + Invertierung:
Anzeige ist rot wenn Status=1 ist. Die Farbe ist nicht abhängig von der Invertierung. Status Invertierung Anzeige 1 1 🔴 rot 1 0 🔴 rot 0 1 ✅ grün 0 0 ✅ grün
This commit is contained in:
@@ -33,6 +33,7 @@ export const fetchDigitaleEingaenge = async () => {
|
||||
status: status === 1,
|
||||
counter: win.win_counter?.[index] || 0,
|
||||
flutter: win.win_flutter?.[index] || 0,
|
||||
invertierung: win.win_de_invert?.[index] === 1,
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user