fix(storefront): add icons.js to storefront login page
Some checks failed
CI / ruff (push) Successful in 15s
CI / pytest (push) Failing after 2h47m35s
CI / validate (push) Successful in 30s
CI / dependency-scanning (push) Successful in 34s
CI / docs (push) Has been skipped
CI / deploy (push) Has been skipped

The storefront login template uses $icon() in Alpine expressions but
didn't load icons.js, causing "$icon is not defined" errors.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-28 21:16:13 +01:00
parent 71b5eb1758
commit 66b77e747d

View File

@@ -181,6 +181,9 @@
</div> </div>
</div> </div>
<!-- Icons (registers $icon magic helper for Alpine) -->
<script defer src="{{ url_for('static', path='shared/js/icons.js') }}"></script>
<!-- Alpine.js v3 --> <!-- Alpine.js v3 -->
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.14.0/dist/cdn.min.js"></script> <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.14.0/dist/cdn.min.js"></script>