From e05154667f599773d3efb38f608b3bba92053384 Mon Sep 17 00:00:00 2001 From: zhangke Date: Thu, 18 Aug 2022 11:33:03 +0800 Subject: [PATCH] fix: add the unit GiB to the capacity on the volume detail page 1. add the unit GiB to the capacity on the volume detail page Change-Id: Ia3ffdaf1607c266787db23dbf1203bac4e734444 --- src/pages/storage/containers/Volume/Detail/index.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/storage/containers/Volume/Detail/index.jsx b/src/pages/storage/containers/Volume/Detail/index.jsx index e01ac2b8..0b24bb0b 100644 --- a/src/pages/storage/containers/Volume/Detail/index.jsx +++ b/src/pages/storage/containers/Volume/Detail/index.jsx @@ -68,6 +68,7 @@ export class VolumeDetail extends Base { { title: t('Size'), dataIndex: 'size', + render: (value) => `${value}GiB`, }, { title: t('Created At'),