mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Update src/client/components/notification.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
13166d0b5d
commit
d144724235
@ -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 New Issue
Block a user