fix empty
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
{!! $article['description'] !!}
|
||||
</div>
|
||||
<div class="col-3">
|
||||
@if ($article['offers']['semences'] ?? false)
|
||||
@component('components.card', [
|
||||
'title' => 'Semence',
|
||||
'class' => 'mb-3',
|
||||
@@ -25,7 +26,9 @@
|
||||
'txt' => 'Ajouter au panier',
|
||||
])
|
||||
@endcomponent
|
||||
@endif
|
||||
|
||||
@if ($article['offers']['plants'] ?? false)
|
||||
@component('components.card', [
|
||||
'title' => 'Plant',
|
||||
'class' => 'mb-3',
|
||||
@@ -37,7 +40,9 @@
|
||||
'txt' => 'Ajouter au panier',
|
||||
])
|
||||
@endcomponent
|
||||
@endif
|
||||
|
||||
@if ($article['offers']['legumes'] ?? false)
|
||||
@component('components.card', [
|
||||
'title' => 'Légume',
|
||||
'class' => 'mb-3',
|
||||
@@ -47,6 +52,7 @@
|
||||
'txt' => 'Ajouter au panier',
|
||||
])
|
||||
@endcomponent
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user