mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
browser: Disable usage/free stats for browser-gateway (#4497)
This commit is contained in:
parent
8a6b0cc0cd
commit
0f5483f497
@ -463,21 +463,25 @@ export default class Browse extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (web.LoggedIn()) {
|
if (web.LoggedIn()) {
|
||||||
storageUsageDetails = <div className="feh-usage">
|
if (!(used === 0 && free === 0)) {
|
||||||
<div className="fehu-chart">
|
storageUsageDetails = <div className="feh-usage">
|
||||||
<div style={ { width: usedPercent } }></div>
|
<div className="fehu-chart">
|
||||||
</div>
|
<div style={ { width: usedPercent } }></div>
|
||||||
<ul>
|
</div>
|
||||||
<li>
|
<ul>
|
||||||
<span>Used: </span>
|
<li>
|
||||||
{ humanize.filesize(total - free) }
|
<span>Used: </span>
|
||||||
</li>
|
{ humanize.filesize(total - free) }
|
||||||
<li className="pull-right">
|
</li>
|
||||||
<span>Free: </span>
|
<li className="pull-right">
|
||||||
{ humanize.filesize(total - used) }
|
<span>Free: </span>
|
||||||
</li>
|
{ humanize.filesize(total - used) }
|
||||||
</ul>
|
</li>
|
||||||
</div>
|
</ul>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let createButton = ''
|
let createButton = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user