Update src/client/components/notification.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
fb91ab4080
commit
7e093aee5e
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ export default Vue.extend({
|
|||
},
|
||||
|
||||
mounted() {
|
||||
if (!this.notification.isRead ) {
|
||||
if (!this.notification.isRead) {
|
||||
this.readObserver = new IntersectionObserver((entries, observer) => {
|
||||
if (!entries.some(entry => entry.isIntersecting)) return;
|
||||
this.$root.stream.send('readNotification', {
|
||||
|
|
Loading…
Reference in a new issue