Skip to content

Commit

Permalink
sched interface: rank app-alarms to the bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrippling committed Oct 23, 2024
1 parent afab64b commit 272f69e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/sched/interface.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@
alarms.sort((a, b) => {
let x;

// move app specific alarms to the bottom
x = !!a.appid - !!b.appid;
if(x) return x;

x = !!b.date - !!a.date;
if(x) return x;

Expand Down

0 comments on commit 272f69e

Please sign in to comment.