From 5b81a5ee69a97df2ca6af0eeb7a0f2b118148e4c Mon Sep 17 00:00:00 2001 From: Adam Weston Date: Tue, 6 Feb 2024 15:15:06 -0500 Subject: [PATCH] Chore: clean up cell render --- resources/views/components/table-repeater.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/components/table-repeater.blade.php b/resources/views/components/table-repeater.blade.php index 0b9313b..bb0216c 100644 --- a/resources/views/components/table-repeater.blade.php +++ b/resources/views/components/table-repeater.blade.php @@ -113,8 +113,10 @@ class="table-repeater-rows-wrapper divide-y divide-gray-950/5 dark:divide-white/ class="table-repeater-row md:divide-x md:divide-gray-950/5 dark:md:divide-white/20" > @php($counter = 0) - @foreach($row->getComponents() as $k => $cell) - @if(! $cell instanceof \Filament\Forms\Components\Hidden && ! $cell->isHidden()) + @foreach($row->getComponents() as $cell) + @if($cell instanceof \Filament\Forms\Components\Hidden || $cell->isHidden()) + {{ $cell }} + @else