Fix wrong usercard notification

This commit is contained in:
Henry Jameson 2019-04-12 10:49:22 +03:00 committed by Roman Kostetskii
parent fd3811d651
commit 7d01b3d8ba

View file

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