Lock icon for locked profiles
This commit is contained in:
parent
e7e4f15234
commit
ce190cbc50
|
@ -62,6 +62,7 @@ function AccountBlock({
|
|||
group,
|
||||
followersCount,
|
||||
createdAt,
|
||||
locked,
|
||||
} = account;
|
||||
let [_, acct1, acct2] = acct.match(/([^@]+)(@.+)/i) || [, acct];
|
||||
if (accountInstance) {
|
||||
|
@ -123,6 +124,12 @@ function AccountBlock({
|
|||
@{acct1}
|
||||
<wbr />
|
||||
{acct2}
|
||||
{locked && (
|
||||
<>
|
||||
{' '}
|
||||
<Icon icon="lock" size="s" alt="Locked" />
|
||||
</>
|
||||
)}
|
||||
</span>
|
||||
{showActivity && (
|
||||
<>
|
||||
|
|
Loading…
Reference in a new issue