sched interface: rank app-alarms to the bottom
parent
f46e8359c7
commit
e9969e6d85
|
|
@ -331,6 +331,10 @@ function getData() {
|
||||||
alarms.sort((a, b) => {
|
alarms.sort((a, b) => {
|
||||||
let x;
|
let x;
|
||||||
|
|
||||||
|
// move app specific alarms to the bottom
|
||||||
|
x = !!a.appid - !!b.appid;
|
||||||
|
if(x) return x;
|
||||||
|
|
||||||
x = !!b.date - !!a.date;
|
x = !!b.date - !!a.date;
|
||||||
if(x) return x;
|
if(x) return x;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue