feat(profile): fix expired text show
This commit is contained in:
@@ -84,9 +84,11 @@ const Profile: React.FC = () => {
|
||||
children: userCompany?.validityEndTime ? (
|
||||
<Space>
|
||||
{userCompany.validityEndTime}
|
||||
{userCompany?.validityStatus === 2 && (
|
||||
<Text type="danger" style={{ fontSize: '12px' }}>
|
||||
{$t('pages.company.expired')}
|
||||
</Text>
|
||||
)}
|
||||
</Space>
|
||||
) : (
|
||||
$t('pages.company.permanent')
|
||||
|
||||
Reference in New Issue
Block a user