From 8467ffa2e80e458bed1a6301c991f779245ac550 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 28 Jan 2026 20:32:12 +0100 Subject: [PATCH] Fix NaN in the UI --- www/common/common-ui-elements.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 364a2612f..35ee4850f 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -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);