Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

feat(patients): new related person alert #1875

Merged
merged 12 commits into from
Mar 10, 2020

Conversation

oizuldan
Copy link
Contributor

@oizuldan oizuldan commented Mar 3, 2020

Fixes #1764.

Changes proposed in this pull request:

@vercel
Copy link

vercel bot commented Mar 3, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/hospitalrun/hospitalrun-frontend/euu6sxjzf
✅ Preview: https://hospitalrun-frontend-git-fork-oizuldan-feat-new-person-alert.hospitalrun.now.sh

@oizuldan oizuldan changed the title Feat new person alert Feat new related person alert Mar 3, 2020
@oizuldan oizuldan changed the title Feat new related person alert feat(patients): new related person alert Mar 3, 2020
src/patients/patient-slice.ts Outdated Show resolved Hide resolved
@@ -80,7 +80,7 @@ const RelatedPersonTab = (props: Props) => {
relatedPersons: newRelatedPersons,
}

dispatch(updatePatient(patientToUpdate, history))
dispatch(updatePatient(patientToUpdate, history, true))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the recommended new action approach, this code would become

dispatch(addRelatedPerson(patientToUpdate, history))

@matteovivona matteovivona merged commit e8445f8 into HospitalRun:master Mar 10, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Successful alert when new related person is added
4 participants