From fae7a318e531c804e9b67d6f0c32559650875c18 Mon Sep 17 00:00:00 2001 From: luanfreitasdev Date: Sun, 22 Oct 2023 16:36:03 -0300 Subject: [PATCH] wip --- .../frameworks/tailwind/table-base.blade.php | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) 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