mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 10:45:41 +03:00
Lock icon for locked profiles
This commit is contained in:
parent
e7e4f15234
commit
ce190cbc50
1 changed files with 7 additions and 0 deletions
|
@ -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