Alarm-LED soll rot werden wenn window.kueAlarm1 in den Slot 1 ist
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user