fix: emit no badge markup when no badge is ticked

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Doar Mihai
2026-10-17 15:58:47 +03:00
co-authored by Claude Sonnet 5.5
parent 9920fafab6
commit bf365d029f
4 changed files with 16 additions and 7 deletions
@@ -38,9 +38,7 @@
</p>
<!-- Badges -->
<div class="mb-3 empty:hidden">
<x-product.badges :product="$product" />
</div>
<x-product.badges :product="$product" class="mb-3" />
<!-- Meta Information -->
<div class="flex items-center justify-between text-xs text-gray-500 dark:text-gray-400">