aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-04-08 19:01:40 +0000
committerShpuld Shpludson <shp@cock.li>2019-04-08 19:01:40 +0000
commit546ced43d9edbaf176f71b010aadc11bf7e5e851 (patch)
treeb198a3b47ecea40df33b072ff5576583ab722f22 /src/components/notification/notification.js
parent2f725c570b5567eb6d92f056f723b193529e3ffd (diff)
parent6b6878bde06b375b1e715a3557f153acc73a8af0 (diff)
Merge branch 'moderation-menu' into 'develop'
Moderation menu #310 See merge request pleroma/pleroma-fe!595
Diffstat (limited to 'src/components/notification/notification.js')
-rw-r--r--src/components/notification/notification.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js
index 42a48f3f..6aa6101f 100644
--- a/src/components/notification/notification.js
+++ b/src/components/notification/notification.js
@@ -21,6 +21,9 @@ const Notification = {
},
userProfileLink (user) {
return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames)
+ },
+ getUser (notification) {
+ return this.$store.state.users.usersObject[notification.action.user.id]
}
},
computed: {