Add option to fade domains in mention link

This commit is contained in:
Tusooa Zhu 2022-01-10 02:31:26 -05:00
commit 0c60b31eee
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
6 changed files with 31 additions and 2 deletions

View file

@ -115,6 +115,9 @@ const MentionLink = {
shouldShowAvatar () {
return this.mergedConfig.mentionLinkShowAvatar
},
shouldFadeDomain () {
return this.mergedConfig.mentionLinkFadeDomain
},
...mapGetters(['mergedConfig']),
...mapState({
currentUser: state => state.users.currentUser