fix
This commit is contained in:
parent
1fca78f0a1
commit
9e0f53a7e7
3 changed files with 28 additions and 28 deletions
|
|
@ -71,8 +71,8 @@ self.addEventListener('push', ev => {
|
|||
case 'readNotifications':
|
||||
for (const notification of await self.registration.getNotifications()) {
|
||||
if (data.body.notificationIds.includes(notification.data.body.id)) {
|
||||
notification.close()
|
||||
};
|
||||
notification.close();
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue