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:
co-authored by
Claude Sonnet 5.5
parent
9920fafab6
commit
bf365d029f
@@ -54,9 +54,7 @@
|
||||
<span>{{ $product->created_at->format('M j, Y') }}</span>
|
||||
</div>
|
||||
|
||||
<div class="mt-3">
|
||||
<x-product.badges :product="$product" />
|
||||
</div>
|
||||
<x-product.badges :product="$product" class="mt-3" />
|
||||
|
||||
@if($product->tags->isNotEmpty())
|
||||
<div class="mt-3 flex flex-wrap gap-x-3 gap-y-1 text-sm text-gray-500 dark:text-gray-400">
|
||||
|
||||
Reference in New Issue
Block a user