#436 - sync notification & timeline users

This commit is contained in:
dave 2019-04-01 12:22:49 -04:00
parent 0af2f8e4fd
commit 6482201dc9
2 changed files with 3 additions and 3 deletions

View file

@ -33,13 +33,13 @@ const Notification = {
return highlightStyle(highlight[user.screen_name])
},
userInStore () {
return this.$store.getters.findUser(this.notification.action.user.id)
return this.$store.getters.findUser(this.notification.from_profile.id)
},
user () {
if (this.userInStore) {
return this.userInStore
}
return {}
return this.notification.from_profile
}
}
}