Always schedule notification
continuous-integration/drone/push Build is passing Details

(Caused bugs)
This commit is contained in:
kolaente 2020-02-09 10:48:39 +01:00
parent 37d6ceb963
commit 1df1be2eab
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 0 additions and 6 deletions

View File

@ -160,12 +160,6 @@ export default class TaskModel extends AbstractModel {
}
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)) {
console.debug('This browser does not support triggered notifications')
return