1515use Filament \Schemas \Schema ;
1616use Filament \Resources \Resource ;
1717use Filament \Tables \Table ;
18+ use Filament \Actions ;
1819use Filament \Tables ;
1920use Illuminate \Support \HtmlString ;
2021use Illuminate \Support \Str ;
@@ -210,7 +211,7 @@ class="w-8 h-8 bg-cover bg-center bg-no-repeat"></div>
210211 ])
211212 ->actions ([
212213
213- Tables \ Actions \Action::make ('favorite ' )
214+ Actions \Action::make ('favorite ' )
214215 ->label ('' )
215216 ->icon ('heroicon-o-star ' )
216217 ->color (fn ($ record ) => auth ()->user ()->favoriteProjects ()
@@ -234,11 +235,11 @@ class="w-8 h-8 bg-cover bg-center bg-no-repeat"></div>
234235 ->send ();
235236 }),
236237
237- Tables \ Actions \ViewAction::make (),
238- Tables \ Actions \EditAction::make (),
238+ Actions \ViewAction::make (),
239+ Actions \EditAction::make (),
239240
240- Tables \ Actions \ActionGroup::make ([
241- Tables \ Actions \Action::make ('exportLogHours ' )
241+ Actions \ActionGroup::make ([
242+ Actions \Action::make ('exportLogHours ' )
242243 ->label (__ ('Export hours ' ))
243244 ->icon ('heroicon-o-arrow-down-tray ' )
244245 ->color ('gray ' )
@@ -249,7 +250,7 @@ class="w-8 h-8 bg-cover bg-center bg-no-repeat"></div>
249250 ['Content-Type ' => 'text/csv ' ]
250251 )),
251252
252- Tables \ Actions \Action::make ('kanban ' )
253+ Actions \Action::make ('kanban ' )
253254 ->label (
254255 fn ($ record )
255256 => ($ record ->type === 'scrum ' ? __ ('Scrum board ' ) : __ ('Kanban board ' ))
@@ -266,7 +267,7 @@ class="w-8 h-8 bg-cover bg-center bg-no-repeat"></div>
266267 ])->color ('gray ' ),
267268 ])
268269 ->bulkActions ([
269- Tables \ Actions \DeleteBulkAction::make (),
270+ Actions \DeleteBulkAction::make (),
270271 ]);
271272 }
272273
0 commit comments