File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
frontend/src/pages/Reports/components Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,12 @@ const OriginalReportTab: React.FC<OriginalReportTabProps> = ({ reportData }) =>
6666 </ div >
6767
6868 { /* Medical Comments Section */ }
69- < div className = "report-detail-page__comments-section" >
70- < h4 className = "report-detail-page__comments-title" > Medical Comments:</ h4 >
71- < div className = "report-detail-page__comments-text" > { reportData . medicalComments } </ div >
72- </ div >
69+ { reportData . medicalComments . length > 0 && (
70+ < div className = "report-detail-page__comments-section" >
71+ < h4 className = "report-detail-page__comments-title" > Medical Comments:</ h4 >
72+ < div className = "report-detail-page__comments-text" > { reportData . medicalComments } </ div >
73+ </ div >
74+ ) }
7375
7476 { /* Uploaded File Section */ }
7577 < div className = "report-detail-page__uploaded-file" >
You can’t perform that action at this time.
0 commit comments