Skip to content

Commit

Permalink
fix: error when trying to save 'other education' (openedx#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
Inferato authored and snglth committed Jan 9, 2024
1 parent be9c204 commit ed23ac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/account-settings/AccountSettingsPage.messages.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,8 @@ const messages = defineMessages({
defaultMessage: 'No formal education',
description: 'Selected by the user to describe their education.',
},
'account.settings.field.education.levels.o': {
id: 'account.settings.field.education.levels.o',
'account.settings.field.education.levels.other': {
id: 'account.settings.field.education.levels.other',
defaultMessage: 'Other education',
description: 'Selected by the user if they have a type of education not described by the other choices.',
},
Expand Down
2 changes: 1 addition & 1 deletion src/account-settings/data/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const EDUCATION_LEVELS = [
'jhs',
'el',
'none',
'o',
'other',
];

export const GENDER_OPTIONS = [
Expand Down

0 comments on commit ed23ac6

Please sign in to comment.