Show group tag in search results

This commit is contained in:
Lim Chee Aun 2023-08-07 21:26:56 +08:00
parent a8c7e08f3f
commit 9a44dfafa6

View file

@ -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" />{' '}