diff --git a/core/trino-main/src/main/resources/webapp/src/utils.js b/core/trino-main/src/main/resources/webapp/src/utils.js index 37275258515f..b85e70d1c2b7 100644 --- a/core/trino-main/src/main/resources/webapp/src/utils.js +++ b/core/trino-main/src/main/resources/webapp/src/utils.js @@ -340,6 +340,9 @@ export function computeRate(count: number, ms: number): number { } export function precisionRound(n: number): string { + if (n === undefined){ + return "n/a"; + } if (n < 10) { return n.toFixed(2); }