aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-05-25 03:29:48 +0300
committerHenry Jameson <me@hjkos.com>2020-05-25 03:29:48 +0300
commit138ec85003b41079e31fe618c5953b286a2b3c1e (patch)
treeee09fdac26ba0aa5b135370ce8660781c09e2e99 /src/components/notification
parent1e606d2f268e796a3efd2a995713c70a000daf62 (diff)
parent1ae8935977b2e974b6727b6a02035c9d38c9d670 (diff)
Merge remote-tracking branch 'origin/develop' into settings-modal
* origin/develop: (95 commits) Translated using Weblate (Italian) Translated using Weblate (Chinese (Simplified)) Translated using Weblate (Russian) Translated using Weblate (Polish) Translated using Weblate (Dutch) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) Translated using Weblate (German) ...
Diffstat (limited to 'src/components/notification')
-rw-r--r--src/components/notification/notification.js2
-rw-r--r--src/components/notification/notification.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js
index 1ae81ce4..1cf4c9bc 100644
--- a/src/components/notification/notification.js
+++ b/src/components/notification/notification.js
@@ -75,7 +75,7 @@ const Notification = {
return this.generateUserProfileLink(this.targetUser)
},
needMute () {
- return this.user.muted
+ return this.$store.getters.relationship(this.user.id).muting
},
isStatusNotification () {
return isStatusNotification(this.notification.type)
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue
index f6da07dd..0e46a2a7 100644
--- a/src/components/notification/notification.vue
+++ b/src/components/notification/notification.vue
@@ -40,7 +40,7 @@
<div class="notification-right">
<UserCard
v-if="userExpanded"
- :user="getUser(notification)"
+ :user-id="getUser(notification).id"
:rounded="true"
:bordered="true"
/>