Add a pref for whether to display mention as icon or text
This commit is contained in:
parent
28ee5721bb
commit
76547fe66d
5 changed files with 15 additions and 4 deletions
src/components/mention_link
|
@ -24,13 +24,14 @@
|
|||
>
|
||||
<!-- eslint-disable vue/no-v-html -->
|
||||
<FAIcon
|
||||
v-if="useAtIcon"
|
||||
size="sm"
|
||||
icon="at"
|
||||
class="at"
|
||||
/><span class="shortName"><span
|
||||
class="userName"
|
||||
v-html="userName"
|
||||
/></span>
|
||||
/><span class="shortName">{{ !useAtIcon ? '@' : '' }}<span
|
||||
class="userName"
|
||||
v-html="userName"
|
||||
/></span>
|
||||
<span
|
||||
v-if="isYou"
|
||||
class="you"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue