Skip to content

Commit

Permalink
chore: fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
wychoong authored and github-actions[bot] committed Oct 29, 2023
1 parent 6feb766 commit e5b9bd3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
use Filament\Tables\Enums\ActionsPosition;
use Filament\Tables\Enums\RecordCheckboxPosition;
if($groupsOnly && $groupColumn){
$columns = collect($columns)->reject(fn($column) => $column->getName() == $groupColumn)->toArray();
if ($groupsOnly && $groupColumn) {
$columns = collect($columns)->reject(fn ($column) => $column->getName() == $groupColumn)->toArray();
}
$hasPageSummary = (! $groupsOnly) && $records instanceof \Illuminate\Contracts\Pagination\Paginator && $records->hasPages();
@endphp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
use Filament\Tables\Enums\ActionsPosition;
use Filament\Tables\Enums\RecordCheckboxPosition;
if($groupsOnly && $groupColumn){
$columns = collect($columns)->reject(fn($column) => $column->getName() == $groupColumn)->toArray();
if ($groupsOnly && $groupColumn) {
$columns = collect($columns)->reject(fn ($column) => $column->getName() == $groupColumn)->toArray();
}
@endphp

Expand Down
2 changes: 1 addition & 1 deletion packages/tables/resources/views/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ class="mx-1 my-2 shrink-0"

@if ($isSelectionEnabled && $recordCheckboxPosition === RecordCheckboxPosition::BeforeCells)
<x-filament-tables::selection.cell tag="th">
@if(!$isGroupsOnly)
@if (! $isGroupsOnly)
<x-filament-tables::selection.checkbox
:label="__('filament-tables::table.fields.bulk_select_page.label')"
x-bind:checked="
Expand Down

0 comments on commit e5b9bd3

Please sign in to comment.