options to disable (You)s and highlighting of yourself
This commit is contained in:
parent
6d3229b1a1
commit
bfb3a4364b
6 changed files with 25 additions and 3 deletions
|
|
@ -87,7 +87,7 @@ const MentionLink = {
|
|||
classnames () {
|
||||
return [
|
||||
{
|
||||
'-you': this.isYou,
|
||||
'-you': this.isYou && this.shouldBoldenYou,
|
||||
'-highlighted': this.highlight
|
||||
},
|
||||
this.highlightType
|
||||
|
|
@ -115,6 +115,12 @@ const MentionLink = {
|
|||
shouldShowAvatar () {
|
||||
return this.mergedConfig.mentionLinkShowAvatar
|
||||
},
|
||||
shouldShowYous () {
|
||||
return this.mergedConfig.mentionLinkShowYous
|
||||
},
|
||||
shouldBoldenYou () {
|
||||
return this.mergedConfig.mentionLinkBoldenYou
|
||||
},
|
||||
shouldFadeDomain () {
|
||||
return this.mergedConfig.mentionLinkFadeDomain
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue