added ability to pick the style of highlighting

This commit is contained in:
Henry Jameson 2018-08-05 05:18:04 +03:00
parent d886ab752c
commit 6a81aa2745
6 changed files with 79 additions and 35 deletions

View file

@ -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])
}
}
}