From 4faf0f8e84663353cd9e8eb5f21c0a211e508773 Mon Sep 17 00:00:00 2001 From: somesh-harshvardhan Date: Thu, 7 Dec 2023 13:03:34 +0530 Subject: [PATCH] =?UTF-8?q?Metrics=20display=200.00=20sec=20time=20instead?= =?UTF-8?q?=20of=20=E2=80=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/Metrics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/Metrics.js b/app/components/Metrics.js index 15f0e7b..9beab7b 100644 --- a/app/components/Metrics.js +++ b/app/components/Metrics.js @@ -27,7 +27,7 @@ export default function Metrics({ startedAt, firstMessageAt, completedAt, comple } {<>
sec
-
{Math.max(runningDuration, 0).toFixed(2)}
+
{runningDuration ? runningDuration.toFixed(2) : "—"}
} );