File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ public static function table(Table $table): Table
9797 ->bulkActions ([
9898 Tables \Actions \BulkActionGroup::make ([
9999 BulkAction::make ('approved ' )
100- ->visible (fn (?Collection $ records ) => ! empty ($ records ) || $ records ?->contains(fn ($ record ) => $ record ->submitted_at ))
101100 ->label ('Approuver la sélection ' )
102101 ->icon ('heroicon-s-check ' )
103102 ->color ('success ' )
@@ -109,7 +108,6 @@ public static function table(Table $table): Table
109108 ->modalSubheading ('Voulez-vous vraiment approuver ces articles ? ' )
110109 ->modalButton ('Confirmer ' ),
111110 BulkAction::make ('declined ' )
112- ->visible (fn (?Collection $ records ) => ! empty ($ records ) || $ records ?->contains(fn ($ record ) => $ record ->submitted_at ))
113111 ->label ('Décliner la sélection ' )
114112 ->icon ('heroicon-s-x-mark ' )
115113 ->color ('warning ' )
You can’t perform that action at this time.
0 commit comments