Skip to content

Commit

Permalink
IBX-7448: Fixed siteaccess dropdown values (#1110)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou authored Jan 22, 2024
1 parent 7bada28 commit 93e5af0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
</div>
<div class="ibexa-preview-header__item ibexa-preview-header__item--siteaccess">
{% set value = '' %}
{% set choices = siteaccesses|map((site_accesses_name, site_access_label) => {
{% set choices = siteaccesses|map((site_access_label, site_access_name) => {
value: path(
'ibexa.version.preview',
{
'contentId': content.id,
'versionNo': version_no,
'language': language_code,
'siteAccessName': site_accesses_name
'siteAccessName': site_access_name
}
),
label: site_access_label|trans({}, 'ezplatform_siteaccess')
Expand Down

0 comments on commit 93e5af0

Please sign in to comment.