aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.js
diff options
context:
space:
mode:
authorjared <jaredrmain@gmail.com>2019-04-02 10:53:33 -0400
committerjared <jaredrmain@gmail.com>2019-04-02 10:53:33 -0400
commit79efe0646cb6fc88952e33e13a8ce61205d3aad6 (patch)
tree1eeae048c814b7a8da6780776d7a9ce2dcdf09d5 /src/components/notification/notification.js
parent2ee8d213669c101baad726ece5dc37b5eea7da94 (diff)
merge develop
Diffstat (limited to 'src/components/notification/notification.js')
-rw-r--r--src/components/notification/notification.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js
index fe5b7018..42a48f3f 100644
--- a/src/components/notification/notification.js
+++ b/src/components/notification/notification.js
@@ -31,6 +31,15 @@ const Notification = {
const highlight = this.$store.state.config.highlight
const user = this.notification.action.user
return highlightStyle(highlight[user.screen_name])
+ },
+ userInStore () {
+ return this.$store.getters.findUser(this.notification.action.user.id)
+ },
+ user () {
+ if (this.userInStore) {
+ return this.userInStore
+ }
+ return {}
}
}
}