migrating tests (Backups)

This commit is contained in:
Saeed Vaziry
2024-10-08 23:00:16 +02:00
parent 0da21f40bd
commit eaecafc9b0
5 changed files with 43 additions and 25 deletions

View File

@ -31,7 +31,7 @@ public function mount(): void
protected function getHeaderActions(): array
{
return [
Action::make('Create backup')
Action::make('create')
->icon('heroicon-o-plus')
->modalWidth(MaxWidth::Large)
->authorize(fn () => auth()->user()?->can('create', [Backup::class, $this->server]))