From a18827f2f0362fa07146404e613ad7a7abcd2b73 Mon Sep 17 00:00:00 2001 From: Simon Howe Date: Fri, 13 Sep 2019 16:38:19 +0200 Subject: [PATCH] Fixes "45undefined" in node memory overlay - Seems like the filesize lib subtley changed their API --- client/app/scripts/utils/string-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/scripts/utils/string-utils.js b/client/app/scripts/utils/string-utils.js index 497338e2e..ae3c5974d 100644 --- a/client/app/scripts/utils/string-utils.js +++ b/client/app/scripts/utils/string-utils.js @@ -32,7 +32,7 @@ function makeFormatters(renderFn) { const formatters = { filesize(value) { const obj = filesize(value, {output: 'object', round: 1}); - return renderFn(obj.value, obj.suffix); + return renderFn(obj.value, obj.symbol); }, integer(value) {