From fae3d3dbde4287b45a852509c0f86b3af8ee72bf Mon Sep 17 00:00:00 2001 From: mahendar Date: Mon, 25 Nov 2024 21:23:27 +0530 Subject: [PATCH] corrected loading message --- src/components/Assets/AssetsList.tsx | 2 +- src/components/Patient/SampleDetails.tsx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Assets/AssetsList.tsx b/src/components/Assets/AssetsList.tsx index eceee4887e8..c2a73399d83 100644 --- a/src/components/Assets/AssetsList.tsx +++ b/src/components/Assets/AssetsList.tsx @@ -210,7 +210,7 @@ const AssetsList = () => { ); let manageAssets = null; - if (loading) { + if (loading || !assetsExist) { manageAssets = (
diff --git a/src/components/Patient/SampleDetails.tsx b/src/components/Patient/SampleDetails.tsx index c5282a65c1f..dd7b3f20535 100644 --- a/src/components/Patient/SampleDetails.tsx +++ b/src/components/Patient/SampleDetails.tsx @@ -264,7 +264,10 @@ export const SampleDetails = ({ id }: DetailRoute) => { const renderFlow = (flow: FlowModel) => { return ( - +