mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 06:38:46 +00:00
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 className="pr-1">{expandedLabel}</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
{ percentage && <UsageBar percent={percentage} /> }
|
{ percentage >= 0 && <UsageBar percent={percentage} /> }
|
||||||
{ children }
|
{ children }
|
||||||
</div>
|
</div>
|
||||||
</div>;
|
</div>;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue