mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 04:08:32 +03:00
Show join date if there's nothing to show
This commit is contained in:
parent
ff35c458c3
commit
46d7cba1ea
1 changed files with 16 additions and 0 deletions
|
@ -61,6 +61,7 @@ function AccountBlock({
|
|||
note,
|
||||
group,
|
||||
followersCount,
|
||||
createdAt,
|
||||
} = account;
|
||||
let [_, acct1, acct2] = acct.match(/([^@]+)(@.+)/i) || [, acct];
|
||||
if (accountInstance) {
|
||||
|
@ -188,6 +189,21 @@ function AccountBlock({
|
|||
/>
|
||||
</span>
|
||||
)}
|
||||
{!bot &&
|
||||
!group &&
|
||||
!hasRelationship &&
|
||||
!followersCount &&
|
||||
!verifiedField &&
|
||||
!!createdAt && (
|
||||
<span class="created-at">
|
||||
Joined{' '}
|
||||
<time datetime={createdAt}>
|
||||
{niceDateTime(createdAt, {
|
||||
hideTime: true,
|
||||
})}
|
||||
</time>
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</span>
|
||||
|
|
Loading…
Add table
Reference in a new issue