Skip to content

Commit

Permalink
Merge pull request #2 from lukasIO/patch-1
Browse files Browse the repository at this point in the history
Fix deprecation warning
  • Loading branch information
jalendport committed Jun 9, 2023
2 parents d99b568 + 4ab18d2 commit 50f498b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates/widgets/lockout.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="lockout-icon-container {% if localSettings.enabled %}enabled{% else %}disabled{% endif %}">

{{ svg(view.getAssetManager().getPublishedPath('@jalendport/lockout/assetbundles/lockoutwidget/dist', true) ~ '/img/LockoutWidget-icon.svg', class='lockout-icon') }}
{{ svg(view.getAssetManager().getPublishedPath('@jalendport/lockout/assetbundles/lockoutwidget/dist', true) ~ '/img/LockoutWidget-icon.svg')|attr({class: 'lockout-icon'}) }}

</div>

Expand All @@ -31,4 +31,4 @@

</div>

</div>
</div>

0 comments on commit 50f498b

Please sign in to comment.