diff --git a/src/components/Common/DiscussionNotesEditor.tsx b/src/components/Common/DiscussionNotesEditor.tsx index 3c9a258bd66..be0ca45dea6 100644 --- a/src/components/Common/DiscussionNotesEditor.tsx +++ b/src/components/Common/DiscussionNotesEditor.tsx @@ -157,8 +157,8 @@ const DiscussionNotesEditor: React.FC = ({
@@ -181,7 +181,7 @@ const DiscussionNotesEditor: React.FC = ({ /> )} {fileUpload.files.length > 0 && ( -
+
{fileUpload.files.map((file, index) => ( = ({
{/* toolbar*/} -
-
) : ( -
+
{formatDateTime(note.created_date)} @@ -258,7 +258,7 @@ const PatientNoteCard = ({ if (allowThreadView && setThreadViewNote) setThreadViewNote(note.id); }} - className={`pl-11 text-sm text-gray-700 ${allowThreadView ? "cursor-pointer" : ""}`} + className={`pl-11 text-sm text-secondary-700 ${allowThreadView ? "cursor-pointer" : ""}`} > ))}
- {mode == "thread-view" && note.replies.length > 0 && ( -
+ {mode == "thread-view" && note.child_notes.length > 0 && ( +
{note.child_notes.length}{" "} {note.child_notes.length === 1 ? "Reply" : "Replies"} diff --git a/src/components/Facility/PatientNotesDetailedView.tsx b/src/components/Facility/PatientNotesDetailedView.tsx index 5cb98adf967..8f04a3b56ca 100644 --- a/src/components/Facility/PatientNotesDetailedView.tsx +++ b/src/components/Facility/PatientNotesDetailedView.tsx @@ -125,7 +125,7 @@ const PatientNotesDetailedView = (props: Props) => { } return ( -
+
{state && (
@@ -150,7 +150,7 @@ const PatientNotesDetailedView = (props: Props) => {

Replies

{state.child_notes.length > 0 && ( -
+
{state.child_notes.length}{" "} {state.child_notes.length > 1 ? "replies" : "reply"}
@@ -185,9 +185,11 @@ const PatientNotesDetailedView = (props: Props) => {
-

No replies yet

+

+ No replies yet +

)} diff --git a/src/components/Patient/PatientNotes.tsx b/src/components/Patient/PatientNotes.tsx index d1f4bebc02b..144f4e7a66a 100644 --- a/src/components/Patient/PatientNotes.tsx +++ b/src/components/Patient/PatientNotes.tsx @@ -125,8 +125,8 @@ const PatientNotes = (props: PatientNotesProps) => { }} backUrl={`/facility/${facilityId}/patient/${patientId}`} > -
-
+
+
{keysOf(PATIENT_NOTES_THREADS).map((current) => (