wip
This commit is contained in:
1 parent
3b81f7cc9e
commit
86e683a291
1 file changed
+7
+7
@@ -14,6 +14,13 @@ class ListStatisticFixtures extends ListRecords
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
Action::make('truncate')
|
||||
->icon('phosphor-trash')
|
||||
->requiresConfirmation()
|
||||
->color('danger')
|
||||
->action(function () {
|
||||
StatisticFixtures::truncate();
|
||||
}),
|
||||
Action::make('delete_old')
|
||||
->icon('phosphor-trash')
|
||||
->requiresConfirmation()
|
||||
|
||||
Reference in new issue
Block a user