From 9a44dfafa6986bdd9cc567b1651cef7a09749954 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 7 Aug 2023 21:26:56 +0800 Subject: [PATCH] Show group tag in search results --- src/components/account-block.jsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/account-block.jsx b/src/components/account-block.jsx index 1208955e..9655b78d 100644 --- a/src/components/account-block.jsx +++ b/src/components/account-block.jsx @@ -51,6 +51,7 @@ function AccountBlock({ bot, fields, note, + group, } = account; const [_, acct1, acct2] = acct.match(/([^@]+)(@.+)/i) || [, acct]; @@ -123,6 +124,13 @@ function AccountBlock({ )} + {!!group && ( + <> + + Group + + + )} {!!verifiedField && ( {' '}