Skip to content

Commit

Permalink
IBX-7147: Fixed issue where multiple Encore entries are applied to ES…
Browse files Browse the repository at this point in the history
…I fragments (#1003)
  • Loading branch information
webhdx authored Nov 23, 2023
1 parent 2171a1a commit 973b866
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{% trans_default_domain 'ibexa_dashboard' %}

{% set parameters = parameters|default({})|merge({ hide_toggler: true }) %}

<div class="card border-light ibexa-card ibexa-card--no-padding mb-4">
<div class="ibexa-card__title">{{ 'everyone'|trans|desc('Common content') }}</div>
<div class="ibexa-card__body">
{{ ibexa_render_component_group('dashboard-all-tab-groups', { hide_toggler: true }) }}
{{ ibexa_render_component_group('dashboard-all-tab-groups', parameters) }}
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{% trans_default_domain 'ibexa_dashboard' %}

{% set parameters = parameters|default({})|merge({ hide_toggler: true }) %}

<div class="card border-light ibexa-card ibexa-card--no-padding my-4">
<div class="ibexa-card__title">{{ 'me'|trans|desc('My content') }}</div>
<div class="ibexa-card__body">
{{ ibexa_render_component_group('dashboard-my-tab-groups', { hide_toggler: true }) }}
{{ ibexa_render_component_group('dashboard-my-tab-groups', parameters) }}
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
} %}

{% block javascripts %}
{{ encore_entry_script_tags('ibexa-admin-ui-tabs-js', null, 'ibexa') }}
{% set render_encore_entry = render_encore_entry is defined ? render_encore_entry : true %}
{% if render_encore_entry %}
{{ encore_entry_script_tags('ibexa-admin-ui-tabs-js', null, 'ibexa') }}
{% endif %}
{% endblock %}

0 comments on commit 973b866

Please sign in to comment.