diff options
| author | Henry Jameson <me@hjkos.com> | 2018-08-05 05:18:04 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-08-05 05:18:04 +0300 |
| commit | 6a81aa274533b6af1f2514508f6f9fa3b0795c9f (patch) | |
| tree | e9d8e40cb5621abd037c0d6351160967f6b37996 /src/components/notification | |
| parent | d886ab752c0cc7f12ec569b5fb8ae760e2b45643 (diff) | |
added ability to pick the style of highlighting
Diffstat (limited to 'src/components/notification')
| -rw-r--r-- | src/components/notification/notification.js | 3 |
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]) } } } |
