mirror of https://gitee.com/answerdev/answer.git
fix(Dashboard): Some minor problem adjustments.
This commit is contained in:
parent
18a6a20590
commit
fb5f3a7cf1
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"eslint.workingDirectories": [
|
||||
"ui"
|
||||
]
|
||||
],
|
||||
"explorer.autoReveal": "focusNoScroll"
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ const HealthStatus: FC<IProps> = ({ data }) => {
|
|||
</Col>
|
||||
<Col xs={6} className="mb-1">
|
||||
<span className="text-secondary me-1">{t('https')}</span>
|
||||
<strong>{data.https ? t('yes') : t('yes')}</strong>
|
||||
<strong>{data.https ? t('yes') : t('no')}</strong>
|
||||
</Col>
|
||||
<Col xs={6} className="mb-1">
|
||||
<span className="text-secondary me-1">{t('uploading_files')}</span>
|
||||
|
|
|
@ -20,10 +20,12 @@ const SystemInfo: FC<IProps> = ({ data }) => {
|
|||
<span className="text-secondary me-1">{t('storage_used')}</span>
|
||||
<strong>{data.occupying_storage_space}</strong>
|
||||
</Col>
|
||||
<Col xs={6}>
|
||||
<span className="text-secondary me-1">{t('uptime')}</span>
|
||||
<strong>{formatUptime(data.app_start_time)}</strong>
|
||||
</Col>
|
||||
{data.app_start_time ? (
|
||||
<Col xs={6}>
|
||||
<span className="text-secondary me-1">{t('uptime')}</span>
|
||||
<strong>{formatUptime(data.app_start_time)}</strong>
|
||||
</Col>
|
||||
) : null}
|
||||
</Row>
|
||||
</Card.Body>
|
||||
</Card>
|
||||
|
|
Loading…
Reference in New Issue