From 9062f84cb8548ecc9eab1b3fac28ffdc20992bae Mon Sep 17 00:00:00 2001 From: vishwansh01 <165544401+vishwansh01@users.noreply.github.com> Date: Thu, 26 Sep 2024 23:34:29 +0530 Subject: [PATCH 1/4] Fixing Read More on notes in prescription --- src/Components/Common/components/Readmore.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Components/Common/components/Readmore.tsx b/src/Components/Common/components/Readmore.tsx index 8313599280a..5ed65282cb1 100644 --- a/src/Components/Common/components/Readmore.tsx +++ b/src/Components/Common/components/Readmore.tsx @@ -25,7 +25,10 @@ export default function ReadMore(props: { text: string; minChars: number }) { {props.text.length > props.minChars && ( From 6c5b043f26f35d54e8f0587cdc659b4d62572e3c Mon Sep 17 00:00:00 2001 From: vishwansh01 <165544401+vishwansh01@users.noreply.github.com> Date: Fri, 27 Sep 2024 12:22:59 +0530 Subject: [PATCH 2/4] Removed ReadMore from notes --- src/Components/Medicine/PrescriptionDetailCard.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Components/Medicine/PrescriptionDetailCard.tsx b/src/Components/Medicine/PrescriptionDetailCard.tsx index 12680f37db8..a0cc3def673 100644 --- a/src/Components/Medicine/PrescriptionDetailCard.tsx +++ b/src/Components/Medicine/PrescriptionDetailCard.tsx @@ -226,7 +226,8 @@ export default function PrescriptionDetailCard({ {prescription.notes && ( - + {prescription.notes} + {/* */} )} From 2986596bc6f84ce4d46449f30863efb328443e01 Mon Sep 17 00:00:00 2001 From: vishwansh01 <165544401+vishwansh01@users.noreply.github.com> Date: Fri, 27 Sep 2024 12:24:02 +0530 Subject: [PATCH 3/4] removing readmore from notes --- src/Components/Medicine/PrescriptionDetailCard.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Components/Medicine/PrescriptionDetailCard.tsx b/src/Components/Medicine/PrescriptionDetailCard.tsx index a0cc3def673..4f84238afcf 100644 --- a/src/Components/Medicine/PrescriptionDetailCard.tsx +++ b/src/Components/Medicine/PrescriptionDetailCard.tsx @@ -227,7 +227,6 @@ export default function PrescriptionDetailCard({ {prescription.notes && ( {prescription.notes} - {/* */} )} From 2af48d68014afc74766ed1318364ba4b6158ad74 Mon Sep 17 00:00:00 2001 From: vishwansh01 <165544401+vishwansh01@users.noreply.github.com> Date: Fri, 27 Sep 2024 12:34:15 +0530 Subject: [PATCH 4/4] fix --- src/Components/Common/components/Readmore.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Components/Common/components/Readmore.tsx b/src/Components/Common/components/Readmore.tsx index 5ed65282cb1..8313599280a 100644 --- a/src/Components/Common/components/Readmore.tsx +++ b/src/Components/Common/components/Readmore.tsx @@ -25,10 +25,7 @@ export default function ReadMore(props: { text: string; minChars: number }) { {props.text.length > props.minChars && (