This commit is contained in:
tamaina
2021-02-10 22:30:02 +09:00
parent 1fca78f0a1
commit 9e0f53a7e7
3 changed files with 28 additions and 28 deletions

View File

@@ -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;
}