Skip to content

Commit

Permalink
fix: delete oss storage count (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
laojun authored May 18, 2021
1 parent b890e13 commit d5a610a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions shell/app/modules/dataCenter/pages/cloud-source/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -334,14 +334,17 @@ const CloudSource = () => {
{i18n.t('dataCenter:Bucket Count')}
</div>
</div>
<div className='part hover-active' onClick={() => { goTo(goTo.pages.cloudSourceOss); }}>
{
// ref issue: 59066
}
{/* <div className='part hover-active' onClick={() => { goTo(goTo.pages.cloudSourceOss); }}>
<div className="count">
{getFormatter('STORAGE', 'B').format(bucket.storageUsage || 0)}
</div>
<div className="name">
{i18n.t('dataCenter:Storage Count')}
</div>
</div>
</div> */}
</div>
);
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ const ClusterManage = () => {

const toggleAddModalVis = (isCancel = false) => {
if (addModalVis) {
isCancel && !addClusterType && toggleTypeModalVis();
updater.addClusterType('');
isCancel && toggleTypeModalVis();
}
updater.addModalVis(!addModalVis);
};
Expand Down

0 comments on commit d5a610a

Please sign in to comment.