From 6bb75a3a6d8452a3e1b88085fe87cf27386f222c Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Tue, 21 Apr 2020 23:27:51 +0300 Subject: make relationships separate from users --- src/components/notification/notification.js | 2 +- src/components/notification/notification.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/notification') diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js index e7bd769e..09554f54 100644 --- a/src/components/notification/notification.js +++ b/src/components/notification/notification.js @@ -56,7 +56,7 @@ const Notification = { return this.generateUserProfileLink(this.targetUser) }, needMute () { - return this.user.muted + return (this.$store.state.users.relationships[this.user.id] || {}).muting } } } diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 411c0271..24d9fe90 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -40,7 +40,7 @@
-- cgit v1.2.3-70-g09d2