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

Commit

Permalink
Merge pull request #1875 from oizuldan/feat-new-person-alert
Browse files Browse the repository at this point in the history
feat(patients): new related person alert
  • Loading branch information
matteovivona committed Mar 10, 2020
2 parents d8494d7 + e960756 commit e8445f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"react-redux": "~7.2.0",
"react-router": "~5.1.2",
"react-router-dom": "~5.1.2",
"react-scripts": "3.4.0",
"react-scripts": "~3.4.0",
"redux": "~4.0.5",
"redux-thunk": "~2.3.0",
"shortid": "^2.2.15",
Expand Down
1 change: 1 addition & 0 deletions src/locales/enUs/translations/patients/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ export default {
viewPatient: 'View Patient',
newPatient: 'New Patient',
successfullyCreated: 'Successfully created patient',
successfullyAddedRelatedPerson: 'Successfully added the new related person',
},
}
1 change: 1 addition & 0 deletions src/patients/related-persons/RelatedPersonTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const RelatedPersonTab = (props: Props) => {

const onAddRelatedPersonSuccess = () => {
Toast('success', t('Success!'), t('patient.relatedPersons.successfullyAdded'))
Toast('success', t('Success!'), t('patients.successfullyAddedRelatedPerson'), 'top-left')
}

const onRelatedPersonSave = (relatedPerson: RelatedPerson) => {
Expand Down

1 comment on commit e8445f8

@vercel
Copy link

@vercel vercel bot commented on e8445f8 Mar 10, 2020

Choose a reason for hiding this comment

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

Please sign in to comment.