From af700a2ad86a12dfa70d2e75a35f8517786de787 Mon Sep 17 00:00:00 2001 From: phixMe Date: Fri, 18 Oct 2024 14:10:17 -0700 Subject: [PATCH] Fixing no runs list rendering. Signed-off-by: phixMe --- web/src/routes/dashboard/JobRunItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/dashboard/JobRunItem.tsx b/web/src/routes/dashboard/JobRunItem.tsx index b4f3155bb5..43e74308eb 100644 --- a/web/src/routes/dashboard/JobRunItem.tsx +++ b/web/src/routes/dashboard/JobRunItem.tsx @@ -61,7 +61,7 @@ const JobRunItem: React.FC = ({ job }) => { LAST 10 RUNS {/*pad 10 - latestRuns length with a small grey bar*/} - {Array.from({ length: 10 - job.latestRuns?.length || 0 }, (_, i) => ( + {Array.from({ length: 10 - (job.latestRuns?.length || 0) }, (_, i) => (