Always schedule notification
(Caused bugs)
This commit is contained in:
parent
37d6ceb963
commit
1df1be2eab
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue