From 39a8c73ae7df5a2b7c0c143d4146d6f0e3b32727 Mon Sep 17 00:00:00 2001 From: Abhiuday Date: Thu, 8 Feb 2024 18:59:36 +0530 Subject: [PATCH] fix(consultation): fixes #7187 hide diagnoses card if empty --- .../Facility/ConsultationDetails/index.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/Components/Facility/ConsultationDetails/index.tsx b/src/Components/Facility/ConsultationDetails/index.tsx index 071e7bfc1af..a937724f55d 100644 --- a/src/Components/Facility/ConsultationDetails/index.tsx +++ b/src/Components/Facility/ConsultationDetails/index.tsx @@ -401,13 +401,16 @@ export const ConsultationDetails = (props: any) => { -
-
- -
-
+ {consultationData.diagnoses && + consultationData.diagnoses.length > 0 && ( +
+
+ +
+
+ )}