fix lint
This commit is contained in:
parent
e41aa2390c
commit
e4e782c63a
|
@ -205,6 +205,4 @@ async function composeAllReadNotification(type: string): Promise<[string, Notifi
|
|||
tag: 'user_visible_auto_notification',
|
||||
}];
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -39,9 +39,7 @@ self.addEventListener('fetch', ev => {
|
|||
//#region When: Caught Notification
|
||||
self.addEventListener('push', ev => {
|
||||
setTimeout(async () => {
|
||||
console.log('to');
|
||||
for (const n of await self.registration.getNotifications({ tag: 'user_visible_auto_notification' })) {
|
||||
console.log(close)
|
||||
n.close();
|
||||
}
|
||||
}, 5000);
|
||||
|
|
Loading…
Reference in a new issue