Skip to content

Commit

Permalink
[Community] fixes display of locale in user form
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed Feb 22, 2023
1 parent 32a8e11 commit 246f0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/community/Resources/modules/profile/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function getFormDefaultSections(user, update, isNew = false) {
type: 'locale',
label: trans('language'),
required: true,
displayed: hasPermission('administrate', user),
displayed: isNew || hasPermission('administrate', user),
options: {
onlyEnabled: true
}
Expand Down

0 comments on commit 246f0fe

Please sign in to comment.