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 30, 2024
1 parent f46e835 commit e9969e6
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 e9969e6

Please sign in to comment.