Update src/client/components/notification.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
tamaina 2020-06-03 13:42:26 +09:00 committed by GitHub
parent 13166d0b5d
commit d144724235

View File

@ -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', {