mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 12:18:30 +03:00
Show group tag in search results
This commit is contained in:
parent
a8c7e08f3f
commit
9a44dfafa6
1 changed files with 8 additions and 0 deletions
|
@ -51,6 +51,7 @@ function AccountBlock({
|
|||
bot,
|
||||
fields,
|
||||
note,
|
||||
group,
|
||||
} = account;
|
||||
const [_, acct1, acct2] = acct.match(/([^@]+)(@.+)/i) || [, acct];
|
||||
|
||||
|
@ -123,6 +124,13 @@ function AccountBlock({
|
|||
</span>
|
||||
</>
|
||||
)}
|
||||
{!!group && (
|
||||
<>
|
||||
<span class="tag">
|
||||
<Icon icon="group" /> Group
|
||||
</span>
|
||||
</>
|
||||
)}
|
||||
{!!verifiedField && (
|
||||
<span class="verified-field ib">
|
||||
<Icon icon="check-circle" size="s" />{' '}
|
||||
|
|
Loading…
Add table
Reference in a new issue