Merge pull request #1744 from benphelps/fix/resources-0-percent
Fix: usage bar 0% displays '0'
This commit is contained in:
commit
489cfb5f10
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ export default function Resource({ children, icon, value, label, expandedValue =
|
|||
<div className="pr-1">{expandedLabel}</div>
|
||||
</div>
|
||||
}
|
||||
{ percentage && <UsageBar percent={percentage} /> }
|
||||
{ percentage >= 0 && <UsageBar percent={percentage} /> }
|
||||
{ children }
|
||||
</div>
|
||||
</div>;
|
||||
|
|
Loading…
Add table
Reference in a new issue