diff --git a/resources/views/components/productlist.blade.php b/resources/views/components/productlist.blade.php index 52e5813f4..79cdc6ac6 100644 --- a/resources/views/components/productlist.blade.php +++ b/resources/views/components/productlist.blade.php @@ -9,47 +9,49 @@ --}} -@if ($value !== []) +@if (!is_iterable($value) || count($value)) - -
- - @slotdefault('before') - @if ($value && $value !== []) - - @endif - @endslotdefault - - -
- @if ($title) - - @lang($title) - + @if (!is_iterable($value)) @endif @endif