Observe notification read
This commit is contained in:
parent
9bee9d20f7
commit
61bdf51e90
2 changed files with 18 additions and 0 deletions
|
|
@ -75,6 +75,8 @@ export default Vue.extend({
|
|||
this.$root.stream.send('readNotification', {
|
||||
id: notification.id
|
||||
});
|
||||
|
||||
notification.isRead = true;
|
||||
}
|
||||
|
||||
this.prepend(notification);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue