diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js index 95fd312e2..4ad7de365 100644 --- a/src/components/notification/notification.js +++ b/src/components/notification/notification.js @@ -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 } } } diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 0a17c593c..77ad89e1c 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -1,11 +1,16 @@