tamaina 2021-03-23 21:30:36 +09:00
parent 09767a0d56
commit aafafbaeb8
1 changed files with 1 additions and 1 deletions

View File

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