wip
This commit is contained in:
1 parent
9a5ad32315
commit
5255bb8391
2 files changed
+9
-10
No files matched your search
@@ -9,6 +9,7 @@ use App\Models\Gutachter;
|
||||
use App\Models\Projekte;
|
||||
use App\Models\ProjektUser;
|
||||
use Filament\Actions\Action;
|
||||
use Filament\Actions\DeleteAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Forms\Components\Toggle;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
@@ -101,12 +102,14 @@ class ProjektesTable
|
||||
], FiltersLayout::AboveContent)
|
||||
->deferFilters(false)
|
||||
->recordActions([
|
||||
EditAction::make()->iconButton(),
|
||||
DeleteAction::make()->iconButton()
|
||||
->requiresConfirmation(),
|
||||
Action::make('dokument_klonen')
|
||||
->action(fn (Projekte $record) => CloneProjekt::clone($record))
|
||||
->iconButton()
|
||||
->icon('phosphor-copy')
|
||||
->requiresConfirmation(),
|
||||
EditAction::make()->iconButton(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user