From 3451e3f118498b0ed24efa36e6d8dfdbabbef06a Mon Sep 17 00:00:00 2001 From: bezhanSalleh Date: Sat, 26 Aug 2023 22:21:17 +0000 Subject: [PATCH] Fix styling --- src/Resources/RoleResource.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Resources/RoleResource.php b/src/Resources/RoleResource.php index a887946..d1c5014 100644 --- a/src/Resources/RoleResource.php +++ b/src/Resources/RoleResource.php @@ -7,8 +7,8 @@ use BezhanSalleh\FilamentShield\Resources\RoleResource\Pages; use BezhanSalleh\FilamentShield\Support\Utils; use Filament\Forms; -use Filament\Forms\Components\Component; use Filament\Forms\Components\Actions\Action as FormAction; +use Filament\Forms\Components\Component; use Filament\Forms\Form; use Filament\Resources\Resource; use Filament\Tables; @@ -506,7 +506,7 @@ public static function bulkToggleableAction(FormAction $action, Component $compo { $action ->livewireClickHandlerEnabled(true) - ->action(function () use($component, $livewire, $set, $resetState) { + ->action(function () use ($component, $livewire, $set, $resetState) { $component->state($resetState ? [] : array_keys($component->getOptions())); static::experimentalToggleSelectAllViaEntities($livewire, $set); });