Skip to content

Commit d083671

Browse files
Merge pull request #4163 from kris6673/issue4162
Update language label to include geographic area in AutopilotProfileForm
2 parents 3a8af3d + 2aad4d4 commit d083671

File tree

1 file changed

+2
-2
lines changed
  • src/pages/endpoint/autopilot/list-profiles

1 file changed

+2
-2
lines changed

src/pages/endpoint/autopilot/list-profiles/add.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ const AutopilotProfileForm = () => {
6868
type="autoComplete"
6969
label="Language"
7070
name="languages"
71-
options={languageList.map(({ language, tag }) => ({
71+
options={languageList.map(({ language, tag, "Geographic area": geographicArea }) => ({
7272
value: tag,
73-
label: language,
73+
label: `${language} - ${geographicArea}`, // Format as "language - geographic area" for display
7474
}))}
7575
formControl={formControl}
7676
multiple={false}

0 commit comments

Comments
 (0)