fix: displayed when no data in the volume size field on the instance detail page

1. fix displayed when no data in the volume size field on the instance detail page

Change-Id: Iec5f76c46b0c5891c46a6523ec8dbaeac531d521
This commit is contained in:
zhangke 2022-08-18 14:44:52 +08:00
parent e05154667f
commit e7383cc2b9

View File

@ -362,7 +362,7 @@ export class BaseDetail extends Base {
},
{
label: t('Size'),
value: `${item.size}GiB`,
value: item.size ? `${item.size}GiB` : '-',
},
{
label: t('Volume Type'),