From 808559586ed6e50a51164f164f67853dc7528b02 Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Sun, 7 Jul 2024 12:01:00 +0100 Subject: [PATCH] Fix run table col spans for empty/loading messages --- apps/webapp/app/components/runs/v3/TaskRunsTable.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/webapp/app/components/runs/v3/TaskRunsTable.tsx b/apps/webapp/app/components/runs/v3/TaskRunsTable.tsx index dfb2e004b..c0978e144 100644 --- a/apps/webapp/app/components/runs/v3/TaskRunsTable.tsx +++ b/apps/webapp/app/components/runs/v3/TaskRunsTable.tsx @@ -182,7 +182,7 @@ export function TaskRunsTable({ {total === 0 && !hasFilters ? ( - + {!isLoading && } ) : runs.length === 0 ? ( @@ -281,7 +281,7 @@ export function TaskRunsTable({ )} {isLoading && ( Loading… @@ -341,7 +341,7 @@ function BlankState({ isLoading, filters }: Pick; + if (isLoading) return ; const { environments, tasks, from, to, ...otherFilters } = filters; @@ -354,7 +354,7 @@ function BlankState({ isLoading, filters }: Pick env.id === filters.environments[0]); return ( - +
There are no runs for {filters.tasks[0]} @@ -395,7 +395,7 @@ function BlankState({ isLoading, filters }: Pick +
No runs currently match your filters. Try refreshing or modifying your filters.