Skip to content
Snippets Groups Projects
Commit 9f94f60e authored by syuilo's avatar syuilo
Browse files

fix(client): 通知が流れない問題を修正

parent 0ca3c0bc
No related branches found
No related tags found
No related merge requests found
......@@ -75,11 +75,12 @@ export default Vue.extend({
this.$root.stream.send('readNotification', {
id: notification.id
});
notification.isRead = true;
}
this.prepend(notification);
this.prepend({
...notification,
isRead: document.visibilityState === 'visible'
});
},
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment