mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-01-08 10:23:29 +01:00
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() {
|
mounted() {
|
||||||
if (!this.notification.isRead ) {
|
if (!this.notification.isRead) {
|
||||||
this.readObserver = new IntersectionObserver((entries, observer) => {
|
this.readObserver = new IntersectionObserver((entries, observer) => {
|
||||||
if (!entries.some(entry => entry.isIntersecting)) return;
|
if (!entries.some(entry => entry.isIntersecting)) return;
|
||||||
this.$root.stream.send('readNotification', {
|
this.$root.stream.send('readNotification', {
|
||||||
|
|
Loading…
Reference in a new issue