Fix NaN in the UI

This commit is contained in:
yflory 2026-01-28 20:32:12 +01:00
parent b207e135f6
commit 8467ffa2e8

View File

@ -1493,6 +1493,7 @@ define([
usage = unit === 'GB'? Util.bytesToGigabytes(usage):
Util.bytesToMegabytes(usage);
if (!usage && usage !== 0) { usage = '?'; }
limit = unit === 'GB'? Util.bytesToGigabytes(limit):
Util.bytesToMegabytes(limit);