mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
browser: Disable usage/free stats for browser-gateway (#4497)
This commit is contained in:
parent
8a6b0cc0cd
commit
0f5483f497
@ -463,6 +463,7 @@ export default class Browse extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (web.LoggedIn()) {
|
if (web.LoggedIn()) {
|
||||||
|
if (!(used === 0 && free === 0)) {
|
||||||
storageUsageDetails = <div className="feh-usage">
|
storageUsageDetails = <div className="feh-usage">
|
||||||
<div className="fehu-chart">
|
<div className="fehu-chart">
|
||||||
<div style={ { width: usedPercent } }></div>
|
<div style={ { width: usedPercent } }></div>
|
||||||
@ -480,6 +481,9 @@ export default class Browse extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
let createButton = ''
|
let createButton = ''
|
||||||
if (web.LoggedIn()) {
|
if (web.LoggedIn()) {
|
||||||
createButton = <Dropdown dropup className="feb-actions" id="fe-action-toggle">
|
createButton = <Dropdown dropup className="feb-actions" id="fe-action-toggle">
|
||||||
|
Loading…
Reference in New Issue
Block a user