aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-04-24 18:53:17 +0300
committerShpuld Shpuldson <shp@cock.li>2020-04-24 18:53:17 +0300
commitaf9492977aaa10903d54add3187b5cf9d9a00d6c (patch)
tree09ecf8ce1238d0daab75b0dc26e3e5c1d96f16a3 /src/components/notification/notification.js
parentf6fce92cf7a463fbdf270d494404dca5aae06045 (diff)
add back mute prediction, add getter for relationships
Diffstat (limited to 'src/components/notification/notification.js')
-rw-r--r--src/components/notification/notification.js2
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
}
}
}