aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-08-05 05:18:04 +0300
committerHenry Jameson <me@hjkos.com>2018-08-05 05:18:04 +0300
commit6a81aa274533b6af1f2514508f6f9fa3b0795c9f (patch)
treee9d8e40cb5621abd037c0d6351160967f6b37996 /src/components/notification
parentd886ab752c0cc7f12ec569b5fb8ae760e2b45643 (diff)
added ability to pick the style of highlighting
Diffstat (limited to 'src/components/notification')
-rw-r--r--src/components/notification/notification.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js
index 33482891..c786f2cc 100644
--- a/src/components/notification/notification.js
+++ b/src/components/notification/notification.js
@@ -27,8 +27,7 @@ const Notification = {
userStyle () {
const highlight = this.$store.state.config.highlight
const user = this.notification.action.user
- const color = highlight[user.screen_name]
- return highlightStyle(color)
+ return highlightStyle(highlight[user.screen_name])
}
}
}