From aafafbaeb89b75b530934dc717fb3ae20b53c7c0 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 23 Mar 2021 21:30:36 +0900 Subject: [PATCH] https://github.com/syuilo/misskey/pull/7129#discussion_r599496420 --- src/client/components/notifications.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/notifications.vue b/src/client/components/notifications.vue index e3ebd36b76..e573a8b740 100644 --- a/src/client/components/notifications.vue +++ b/src/client/components/notifications.vue @@ -89,7 +89,7 @@ export default defineComponent({ // queueに対してのみ既読処理を行う this.connection.on('readAllNotifications', () => { - this.queue = this.queue.map(markNotificationRead); + this.queue = this.queue.map(x => markNotificationRead(x)); }); this.connection.on('readNotifications', notificationIds => { if (this.queue.length === 0) return;