Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jan 10, 2025
1 parent 4061c99 commit 5a5da5d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion templates/includes/_js_assets.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{# @var assets \EasyCorp\Bundle\EasyAdminBundle\Dto\AssetDto[] #}
{{ dump(assets) }}
{% for js_asset in assets %}
{% set src = asset(js_asset.value, js_asset.packageName) %}
<script src="{{ (js_asset.preload ? ea_call_function_if_exists('preload', src, { as: 'script', nopush: js_asset.nopush }))|default(src) }}" {{ js_asset.async ? 'async' }} {{ js_asset.defer ? 'defer' }}
Expand Down

0 comments on commit 5a5da5d

Please sign in to comment.