diff --git a/resources/views/components/frameworks/tailwind/table-base.blade.php b/resources/views/components/frameworks/tailwind/table-base.blade.php index 32d737c4..3530cc21 100644 --- a/resources/views/components/frameworks/tailwind/table-base.blade.php +++ b/resources/views/components/frameworks/tailwind/table-base.blade.php @@ -16,21 +16,21 @@ class="py-2 align-middle inline-block min-w-full w-full sm:px-6 lg:px-8" ]) @if (config('livewire-powergrid.filter') === 'outside') -{{-- @php--}} -{{-- $filtersFromColumns = collect($this->allColumns)--}} -{{-- ->filter(fn($column) => filled($column->filters))--}} -{{-- ->pluck('filters');--}} -{{-- @endphp--}} + @php + $filtersFromColumns = collect($this->allColumns) + ->filter(fn($column) => filled($column->filters)) + ->pluck('filters'); + @endphp -{{-- @if ($filtersFromColumns->count() > 0)--}} -{{-- --}} -{{-- @endif--}} + @if ($filtersFromColumns->count() > 0) + + @endif @endif