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

Commit

Permalink
fix(appointments): changed appointment type 'Walk Up' to 'Walk In'
Browse files Browse the repository at this point in the history
  • Loading branch information
alti21 committed Mar 3, 2020
1 parent 5e5267c commit 0968c28
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -78,8 +78,8 @@ describe('AppointmentDetailForm', () => {
expect(typeSelect.prop('options')[2].value).toEqual('follow up')
expect(typeSelect.prop('options')[3].label).toEqual('scheduling.appointment.types.routine')
expect(typeSelect.prop('options')[3].value).toEqual('routine')
expect(typeSelect.prop('options')[4].label).toEqual('scheduling.appointment.types.walkUp')
expect(typeSelect.prop('options')[4].value).toEqual('walk up')
expect(typeSelect.prop('options')[4].label).toEqual('scheduling.appointment.types.walkIn')
expect(typeSelect.prop('options')[4].value).toEqual('walk in')
expect(typeSelect.prop('value')).toEqual(expectedAppointment.type)
})

Expand Down
2 changes: 1 addition & 1 deletion src/locales/en-US/translation.json
Expand Up @@ -105,7 +105,7 @@
"emergency": "Emergency",
"followUp": "Follow Up",
"routine": "Routine",
"walkUp": "Walk Up"
"walkIn": "Walk In"
},
"errors": {
"patientRequired": "Patient is required.",
Expand Down
2 changes: 1 addition & 1 deletion src/scheduling/appointments/AppointmentDetailForm.tsx
Expand Up @@ -101,7 +101,7 @@ const AppointmentDetailForm = (props: Props) => {
{ label: t('scheduling.appointment.types.emergency'), value: 'emergency' },
{ label: t('scheduling.appointment.types.followUp'), value: 'follow up' },
{ label: t('scheduling.appointment.types.routine'), value: 'routine' },
{ label: t('scheduling.appointment.types.walkUp'), value: 'walk up' },
{ label: t('scheduling.appointment.types.walkIn'), value: 'walk in' },
]}
onChange={(event: React.ChangeEvent<HTMLSelectElement>) => {
onSelectChange(event, 'type')
Expand Down

0 comments on commit 0968c28

Please sign in to comment.