Skip to content

Commit

Permalink
fix: update languages drop down [DHIS2-15327]
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzemp authored May 31, 2023
1 parent 9bf329e commit 7ecc793
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/Translations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,10 @@ class TranslationsPage extends PureComponent {
const locales = languagesResponse
? languagesResponse.map((language) => ({
id: language.locale,
name: language.name,
name:
language.name === language.displayName
? language.name
: `${language.name}${language.displayName}`,
}))
: []

Expand Down

0 comments on commit 7ecc793

Please sign in to comment.