Merge branch 'fix-notif-user' into 'develop'

Fix wrong usercard notification

Closes #493

See merge request pleroma/pleroma-fe!755
This commit is contained in:
HJ 2019-04-12 07:53:46 +00:00
commit fa33e3ec58

View file

@ -23,7 +23,7 @@ const Notification = {
return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames) return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames)
}, },
getUser (notification) { getUser (notification) {
return this.$store.state.users.usersObject[notification.action.user.id] return this.$store.state.users.usersObject[notification.from_profile.id]
} }
}, },
computed: { computed: {