This commit is contained in:
parent
09767a0d56
commit
aafafbaeb8
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ export default defineComponent({
|
||||||
|
|
||||||
// queueに対してのみ既読処理を行う
|
// queueに対してのみ既読処理を行う
|
||||||
this.connection.on('readAllNotifications', () => {
|
this.connection.on('readAllNotifications', () => {
|
||||||
this.queue = this.queue.map(markNotificationRead);
|
this.queue = this.queue.map(x => markNotificationRead(x));
|
||||||
});
|
});
|
||||||
this.connection.on('readNotifications', notificationIds => {
|
this.connection.on('readNotifications', notificationIds => {
|
||||||
if (this.queue.length === 0) return;
|
if (this.queue.length === 0) return;
|
||||||
|
|
Loading…
Reference in a new issue