Update apps/alarm/app.js

Co-authored-by: Rob Pilling <robpilling@gmail.com>
master
lauzonhomeschool 2023-11-24 14:38:42 -05:00 committed by GitHub
parent 10fd71ee0c
commit d4f5c37f67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ function formatAlarmProperty(msg) {
function showMainMenu(scroll, group) {
const menu = {
"": { "title": group ? group : /*LANG*/"Alarms & Timers", scroll: scroll },
"< Back": () => !group ? load() : showMainMenu(),
"< Back": () => group ? showMainMenu() : load(),
/*LANG*/"New...": () => showNewMenu(group)
};
const getGroups = settings.showGroup && !group;