Always schedule notification

(Caused bugs)
This commit is contained in:
kolaente 2020-02-09 10:48:39 +01:00
parent 37d6ceb963
commit 1df1be2eab
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -160,12 +160,6 @@ export default class TaskModel extends AbstractModel {
} }
async scheduleNotification(date) { async scheduleNotification(date) {
// Don't need to do anything if the notification date is in the past
if (date < (new Date())) {
return
}
if (!('showTrigger' in Notification.prototype)) { if (!('showTrigger' in Notification.prototype)) {
console.debug('This browser does not support triggered notifications') console.debug('This browser does not support triggered notifications')
return return