add init health to account summary box
This commit is contained in:
parent
bc3101e90b
commit
f3f47a102e
|
@ -46,7 +46,7 @@ const MangoAccountSummary = () => {
|
|||
</p>
|
||||
</div>
|
||||
<div className="flex items-center justify-between">
|
||||
<p className="text-sm text-th-fgd-3">{t('health')}</p>
|
||||
<p className="text-sm text-th-fgd-3">Maint {t('health')}</p>
|
||||
<p className="text-sm font-bold text-th-fgd-1">
|
||||
{mangoAccount
|
||||
? mangoAccount.getHealthRatioUi(HealthType.maint)
|
||||
|
@ -54,6 +54,15 @@ const MangoAccountSummary = () => {
|
|||
%
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex items-center justify-between">
|
||||
<p className="text-sm text-th-fgd-3">Init {t('health')}</p>
|
||||
<p className="text-sm font-bold text-th-fgd-1">
|
||||
{mangoAccount
|
||||
? mangoAccount.getHealthRatioUi(HealthType.init)
|
||||
: 100}
|
||||
%
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center space-x-2">
|
||||
<Button
|
||||
|
|
Loading…
Reference in New Issue