Alarm-LED soll rot werden wenn window.kueAlarm1 in den Slot 1 ist

This commit is contained in:
ISA
2024-10-22 07:09:35 +02:00
parent 91f923219c
commit 1c52547efb

View File

@@ -242,7 +242,13 @@ function Kue705FO({
<span className="text-white text-[10px]">Betrieb</span>
</div>
<div className="flex items-center mt-1">
<div className="w-[10px] h-[10px] bg-gray-300 rounded-full mr-2"></div>
<div
className={`w-[10px] h-[10px] rounded-full mr-2 ${
window.kueAlarm1 && slotIndex === 1
? "bg-red-500"
: "bg-gray-300"
}`}
></div>
<span className="text-white text-[10px]">Alarm</span>
</div>
</div>