From 6482201dc9e54d458bec48794260ffa1749c512b Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 1 Apr 2019 12:22:49 -0400 Subject: [PATCH] #436 - sync notification & timeline users --- src/components/notification/notification.js | 4 ++-- src/components/notification/notification.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js index 95fd312e..4ad7de36 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 bf952479..77ad89e1 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -10,7 +10,7 @@
- +