1
0
Fork 0

sched interface: rank app-alarms to the bottom

master
Rob Pilling 2024-10-23 21:42:58 +01:00
parent f46e8359c7
commit e9969e6d85
1 changed files with 4 additions and 0 deletions

View File

@ -331,6 +331,10 @@ function getData() {
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;