Merge pull request #1744 from benphelps/fix/resources-0-percent

Fix: usage bar 0% displays '0'
pull/1749/head
shamoon 1 year ago committed by GitHub
commit 489cfb5f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save