From 646bf03ab1a6ce4e8163c7587a7a93de1ebc3570 Mon Sep 17 00:00:00 2001 From: Polle Pas Date: Tue, 23 Jan 2024 15:55:32 +0100 Subject: [PATCH] #764 Format number as number when currency is not supported --- .../data-browser/src/views/TablePage/helpers/formatNumber.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/browser/data-browser/src/views/TablePage/helpers/formatNumber.ts b/browser/data-browser/src/views/TablePage/helpers/formatNumber.ts index d79c7de1..846d795e 100644 --- a/browser/data-browser/src/views/TablePage/helpers/formatNumber.ts +++ b/browser/data-browser/src/views/TablePage/helpers/formatNumber.ts @@ -32,9 +32,7 @@ export function formatNumber( return formatter.format(value); } catch (e) { - console.error(e); - - return value.toString(); + // The browser doesn't support the currency so we'll just format it as a number. } }