From ca3d557d8c9945176ac6f1a97e4b520dcf3021bc Mon Sep 17 00:00:00 2001 From: AdityaJ2305 Date: Fri, 8 Nov 2024 21:34:50 +0530 Subject: [PATCH] Fix: Investigation record error in mobile mode --- .../Facility/Investigations/InvestigationSuggestions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Facility/Investigations/InvestigationSuggestions.tsx b/src/components/Facility/Investigations/InvestigationSuggestions.tsx index 3ad3ea72675..0593a49e8a2 100644 --- a/src/components/Facility/Investigations/InvestigationSuggestions.tsx +++ b/src/components/Facility/Investigations/InvestigationSuggestions.tsx @@ -197,7 +197,7 @@ export default function ViewInvestigationSuggestions(props: {
- {Array.isArray(investigations) ? ( + {Array.isArray(investigations?.investigation) ? ( investigations.investigation?.map((investigation, index) => { let nextFurthestInvestigation: any = undefined;