both bugs fixed. it's reactive and no more conflicting cards
This commit is contained in:
parent
fa8c221f3a
commit
8ccebbe156
7 changed files with 41 additions and 44 deletions
|
@ -22,11 +22,14 @@ const Notification = {
|
|||
},
|
||||
computed: {
|
||||
userClass () {
|
||||
return highlightClass(this.notification.action.user, this.$store)
|
||||
return highlightClass(this.notification.action.user)
|
||||
},
|
||||
userStyle () {
|
||||
return highlightStyle(this.notification.action.user, this.$store)
|
||||
},
|
||||
const highlight = this.$store.state.config.highlight
|
||||
const user = this.notification.action.user
|
||||
const color = highlight[user.screen_name]
|
||||
return highlightStyle(color)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue