aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.js
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-09-10 16:21:52 -0400
committertaehoon <th.dev91@gmail.com>2019-09-20 11:25:00 -0400
commitf8139e369c0ca4ae90cca78c5d1fee69b88375d6 (patch)
tree38aaa7778ce589d5c79965e8c411d798e9b64d2d /src/components/notification/notification.js
parent8618857aa36574f52a23106cd0d57fd96782435b (diff)
wire up user state with global store
Diffstat (limited to 'src/components/notification/notification.js')
-rw-r--r--src/components/notification/notification.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js
index 181f7715..8e817f3b 100644
--- a/src/components/notification/notification.js
+++ b/src/components/notification/notification.js
@@ -53,10 +53,10 @@ const Notification = {
return this.notification.from_profile
},
userProfileLink () {
- return this.generateUserProfileLink(this.notification.from_profile)
+ return this.generateUserProfileLink(this.user)
},
needMute () {
- return this.notification.from_profile.muted
+ return this.user.muted
}
}
}