You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Mobile: Added status info to view active alarms
This commit is contained in:
@ -39,6 +39,10 @@ class Alarm extends BaseModel {
|
||||
return output;
|
||||
}
|
||||
|
||||
static async allDue() {
|
||||
return this.modelSelectAll('SELECT * FROM alarms WHERE trigger_time >= ?', [Date.now()]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = Alarm;
|
Reference in New Issue
Block a user