diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-04-24 18:53:17 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-04-24 18:53:17 +0300 |
| commit | af9492977aaa10903d54add3187b5cf9d9a00d6c (patch) | |
| tree | 09ecf8ce1238d0daab75b0dc26e3e5c1d96f16a3 /src/components/notification/notification.js | |
| parent | f6fce92cf7a463fbdf270d494404dca5aae06045 (diff) | |
add back mute prediction, add getter for relationships
Diffstat (limited to 'src/components/notification/notification.js')
| -rw-r--r-- | src/components/notification/notification.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js index 09554f54..ff1c2817 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.$store.state.users.relationships[this.user.id] || {}).muting + return this.$store.getters.relationship(this.user.id).muting } } } |
