-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MF-641: Patient List Modal #22
MF-641: Patient List Modal #22
Conversation
…mrs-esm-patient-management into deploy_patient_list
…mrs-esm-patient-management into deploy_patient_list
@@ -84,33 +91,27 @@ export async function getPatientListsForPatient(patientUuid: string) { | |||
}: { | |||
results: Array<OpenmrsCohortMember>; | |||
error: Error; | |||
} = await (await fetch(`/openmrs/ws/rest/v1/cohortm/cohortmember?patient=${patientUuid}&v=default`)).json(); | |||
} = await ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
await await
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(the data is already resolved - no need for the outer await)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure! I'll remove the outer one.
What does this PR do?
This PR comprises of various components:
Design: https://app.zeplin.io/project/60d59321e8100b0324762e05/screen/60d5993c822cc112375b4379