From d5a610a05833f27e62bccd5bf64b453a673048a6 Mon Sep 17 00:00:00 2001 From: zxj <782803291@qq.com> Date: Tue, 18 May 2021 15:05:53 +0800 Subject: [PATCH] fix: delete oss storage count (#195) --- shell/app/modules/dataCenter/pages/cloud-source/index.tsx | 7 +++++-- .../app/modules/dataCenter/pages/cluster-manage/index.tsx | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/shell/app/modules/dataCenter/pages/cloud-source/index.tsx b/shell/app/modules/dataCenter/pages/cloud-source/index.tsx index c345a9d878..e92df5c024 100644 --- a/shell/app/modules/dataCenter/pages/cloud-source/index.tsx +++ b/shell/app/modules/dataCenter/pages/cloud-source/index.tsx @@ -334,14 +334,17 @@ const CloudSource = () => { {i18n.t('dataCenter:Bucket Count')} -
{ goTo(goTo.pages.cloudSourceOss); }}> + { + // ref issue: 59066 + } + {/*
{ goTo(goTo.pages.cloudSourceOss); }}>
{getFormatter('STORAGE', 'B').format(bucket.storageUsage || 0)}
{i18n.t('dataCenter:Storage Count')}
-
+
*/} ); }, diff --git a/shell/app/modules/dataCenter/pages/cluster-manage/index.tsx b/shell/app/modules/dataCenter/pages/cluster-manage/index.tsx index d3a71847d0..7705c620e7 100644 --- a/shell/app/modules/dataCenter/pages/cluster-manage/index.tsx +++ b/shell/app/modules/dataCenter/pages/cluster-manage/index.tsx @@ -53,8 +53,8 @@ const ClusterManage = () => { const toggleAddModalVis = (isCancel = false) => { if (addModalVis) { + isCancel && !addClusterType && toggleTypeModalVis(); updater.addClusterType(''); - isCancel && toggleTypeModalVis(); } updater.addModalVis(!addModalVis); };