lint
This commit is contained in:
parent
1e454e99ae
commit
1ad737ad5e
|
@ -89,7 +89,7 @@ self.addEventListener('push', ev => {
|
||||||
|
|
||||||
createEmptyNotification();
|
createEmptyNotification();
|
||||||
setTimeout(async () => {
|
setTimeout(async () => {
|
||||||
for (const n of
|
for (const n of
|
||||||
[
|
[
|
||||||
...(await self.registration.getNotifications({ tag: 'user_visible_auto_notification' })),
|
...(await self.registration.getNotifications({ tag: 'user_visible_auto_notification' })),
|
||||||
...(await self.registration.getNotifications({ tag: 'read_notification' }))
|
...(await self.registration.getNotifications({ tag: 'read_notification' }))
|
||||||
|
@ -97,7 +97,7 @@ self.addEventListener('push', ev => {
|
||||||
) {
|
) {
|
||||||
n.close();
|
n.close();
|
||||||
}
|
}
|
||||||
}, 500);
|
}, 500);
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
Loading…
Reference in a new issue