Skip to content

Commit

Permalink
IBX-8075: User (group) re-selection not possible after failed role as…
Browse files Browse the repository at this point in the history
…signment (#1244)
  • Loading branch information
tischsoic authored Apr 19, 2024
1 parent 2b97d7c commit 35f04ce
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
id: user.content.versionInfo.contentInfo.id,
name: ibexa_content_name(user)
}) %}
{% set items_map = form.users.vars.data|reduce((output, user) => output|merge({
"{{user.content.versionInfo.contentInfo.id}}": user.id
}), {}) %}
{% set items_map = form.users.vars.data|reduce((output, user) => output + {
(user.id): user.content.versionInfo.contentInfo.mainLocationId,
}, {}) %}
{% set users_udw_title = "role_assignment.view.add.panel.users_and_groups.users.udw_title"
|trans({}, 'ibexa_role')
|desc("Select Users to assign to the Role") %}
Expand Down Expand Up @@ -66,9 +66,9 @@
id: group.content.versionInfo.contentInfo.id,
name: ibexa_content_name(group.content)
}) %}
{% set items_map = form.groups.vars.data|reduce((output, group) => output|merge({
"{{group.content.versionInfo.contentInfo.i}}": group.id
}), {}) %}
{% set items_map = form.groups.vars.data|reduce((output, group) => output + {
(group.id): group.content.versionInfo.contentInfo.mainLocationId,
}, {}) %}
{% set groups_udw_title = "role_assignment.view.add.panel.users_and_groups.groups.udw_title"
|trans({}, 'ibexa_role')
|desc("Select User Groups to assign to the Role") %}
Expand Down

0 comments on commit 35f04ce

Please sign in to comment.