Update app.js compact showAlarm boolean

pull/3113/head
lauzonhomeschool 2023-11-27 22:27:13 -05:00 committed by GitHub
parent 9571d6ab97
commit 96778b6be1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ function showMainMenu(scroll, group) {
var showAlarm;
alarms.forEach((e, index) => {
showAlarm = !settings.showGroup || (!group && !e.group) || (group && e.group === group);
showAlarm = !settings.showGroup || (group ? e.group === group : !e.group);
if(showAlarm) {
menu[trimLabel(getLabel(e),40)] = {
value: e.on ? (e.timer ? iconTimerOn : iconAlarmOn) : (e.timer ? iconTimerOff : iconAlarmOff),