From 1bc9fb83df004fd2dd40a8459f9914d4d565962a Mon Sep 17 00:00:00 2001 From: mheggelund Date: Tue, 6 Feb 2024 10:19:01 +0100 Subject: [PATCH] fix: handle loading state to wait for data. Eliminate empty settingSelects on case rows. --- src/features/Compute/CaseGroup/CaseGroup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/Compute/CaseGroup/CaseGroup.tsx b/src/features/Compute/CaseGroup/CaseGroup.tsx index 67b982d4..c296c91b 100644 --- a/src/features/Compute/CaseGroup/CaseGroup.tsx +++ b/src/features/Compute/CaseGroup/CaseGroup.tsx @@ -325,7 +325,7 @@ export const CaseGroup = ({ } } }; - if (isLoading) return

Loading ...

; + if (isLoading || computeSettingsResponse.isLoading) return

Loading ...

; return ( <>