fix: wrong quantity displayed on click after removing item

This commit is contained in:
imperosol committed 2025-12-20 06:47:29 +01:00
1 parent 32570ee03d
commit 53a3dc0060
1 file changed
+1 -1
@@ -104,7 +104,7 @@
</div>
<ul>
<li x-show="getBasketSize() === 0">{% trans %}This basket is empty{% endtrans %}</li>
<template x-for="(item, index) in Object.values(basket)">
<template x-for="(item, index) in Object.values(basket)" :key="item.product.id">
<li>
<template x-for="error in item.errors">
<div class="alert alert-red" x-text="error">