[pve-devel] applied: [PATCH widget-toolkit] StatusView: fix usage calculation for fields without valid values

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Apr 26 08:29:25 CEST 2022


On 10.03.22 15:31, Dominik Csapak wrote:
> Sometimes, total can be zero (e.g. for swap when it's not used), which
> leads to the usage being NaN. This led to the progressbar not being
> updated for InfoWidgets, leaving a spurious '0%' as text.
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  src/panel/StatusView.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list