aboutsummaryrefslogtreecommitdiff
path: root/src/components/status
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/status
parentd886ab752c0cc7f12ec569b5fb8ae760e2b45643 (diff)
added ability to pick the style of highlighting
Diffstat (limited to 'src/components/status')
-rw-r--r--src/components/status/status.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 2b5bcb55..3a9363ab 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -47,14 +47,12 @@ const Status = {
repeaterStyle () {
const user = this.statusoid.user
const highlight = this.$store.state.config.highlight
- const color = highlight[user.screen_name]
- return highlightStyle(color)
+ return highlightStyle(highlight[user.screen_name])
},
userStyle () {
const user = this.retweet ? (this.statusoid.retweeted_status.user) : this.statusoid.user
const highlight = this.$store.state.config.highlight
- const color = highlight[user.screen_name]
- return highlightStyle(color)
+ return highlightStyle(highlight[user.screen_name])
},
hideAttachments () {
return (this.$store.state.config.hideAttachments && !this.inConversation) ||