diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2020-05-26 14:34:49 +0900 |
|---|---|---|
| committer | tamaina <tamaina@hotmail.co.jp> | 2020-05-26 14:34:49 +0900 |
| commit | 61bdf51e900fe8a4554cd52aad1f2aa319fce7e8 (patch) | |
| tree | b8eed6fb5f9fac1ea7c353558fc202669362c15e /src/client/components/notifications.vue | |
| parent | Improve typing (diff) | |
| download | misskey-61bdf51e900fe8a4554cd52aad1f2aa319fce7e8.tar.gz misskey-61bdf51e900fe8a4554cd52aad1f2aa319fce7e8.tar.bz2 misskey-61bdf51e900fe8a4554cd52aad1f2aa319fce7e8.zip | |
Observe notification read
Diffstat (limited to 'src/client/components/notifications.vue')
| -rw-r--r-- | src/client/components/notifications.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/components/notifications.vue b/src/client/components/notifications.vue index 434a87eb41..9dcb4eb109 100644 --- a/src/client/components/notifications.vue +++ b/src/client/components/notifications.vue @@ -75,6 +75,8 @@ export default Vue.extend({ this.$root.stream.send('readNotification', { id: notification.id }); + + notification.isRead = true; } this.prepend(notification); |