このコミットが含まれているのは:
Henry Jameson 2023-11-13 17:40:55 +02:00
コミット fffa7a4f4a
1個のファイルの変更2行の追加1行の削除

ファイルの表示

@ -69,7 +69,8 @@ self.addEventListener('message', async (event) => {
if (type === 'desktopNotificationClose') {
const { id, all } = content
const search = all ? null : { tag: id }
self.registration.getNotifications(search).forEach(n => n.close())
const notifications = await self.registration.getNotifications(search)
notifications.forEach(n => n.close())
}
if (type === 'updateFocus') {