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

feat(patients): added an asterisk to the Allergy Name field #1944

Merged
merged 3 commits into from
Mar 24, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1 +1 @@
REACT_APP_HOSPITALRUN_API=http://0.0.0.0:3001
REACT_APP_HOSPITALRUN_API=http://0.0.0.0:5984
Copy link
Member

Choose a reason for hiding this comment

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

Any reason to change the port? 5984 is usually what pouchdb runs on. We want to point to our server (which proxies to pouchdb).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the connecting to the server section I misunderstood step 4. Change the REACT_APP_HOSPITALRUN_API variable to point to the HospitalRun Development Server and had trouble running it. I got it working but forgot to switch it back sorry about that.

Copy link
Member

Choose a reason for hiding this comment

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

No worries :)could you switch it back? Then we can merge this PR!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed it back, let me know if there is any other changes that need to be made! Thanks!

1 change: 1 addition & 0 deletions src/patients/allergies/NewAllergyModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const NewAllergyModal = (props: NewAllergyModalProps) => {
<TextInputWithLabelFormGroup
name="name"
label="Name"
isRequired
isEditable
placeholder="Allergy"
value={allergy.name}
Expand Down