Skip to content

Commit

Permalink
IBX-8075: Fix UDW crashing when trying to change previous user group …
Browse files Browse the repository at this point in the history
…selection
  • Loading branch information
tischsoic committed Apr 15, 2024
1 parent b805ec0 commit 9a7ec2d
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) => outputc + {
(user.content.versionInfo.contentInfo.id): user.id
}, {}) %}
{% 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 9a7ec2d

Please sign in to comment.