Skip to content

Commit

Permalink
Switch to "ped" as id for pediatrician
Browse files Browse the repository at this point in the history
  • Loading branch information
lukarenko committed Dec 22, 2021
1 parent d806421 commit 53f23dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/components/DoctorCard/dicts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const AgeGroupTranslate = {

export const TypeIconTranslate = {
gp: 'Family',
ped: 'Kids',
den: 'Dentist',
gyn: 'Gyno',
};
Expand Down
6 changes: 3 additions & 3 deletions src/components/Filters/ToggleDoctorType.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ function withToggleGroup(Component) {
gp_adults: 'gp',
gp_youth: 'gp',
gp_students: 'gp',
ped_adults: 'gp-y',
ped_students: 'gp-y',
ped_youth: 'gp-y',
ped_adults: 'ped',
ped_students: 'ped',
ped_youth: 'ped',
den_adults: 'den',
den_students: 'den-s',
den_youth: 'den-y',
Expand Down

0 comments on commit 53f23dc

Please sign in to comment.