aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.js
diff options
context:
space:
mode:
authordave <starpumadev@gmail.com>2019-04-01 12:22:49 -0400
committerdave <starpumadev@gmail.com>2019-04-01 12:22:49 -0400
commit6482201dc9e54d458bec48794260ffa1749c512b (patch)
tree4b7fed12d8b4d6fb2754e4d40a691354dbed7aa9 /src/components/notification/notification.js
parent0af2f8e4fd399100a0034137ab26c6742db43639 (diff)
#436 - sync notification & timeline users
Diffstat (limited to 'src/components/notification/notification.js')
-rw-r--r--src/components/notification/notification.js4
1 files changed, 2 insertions, 2 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
}
}
}