feat: extend event toolkit and polish guest pwa
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\InviteLayouts\Pages;
|
||||
|
||||
use App\Filament\Resources\InviteLayouts\InviteLayoutResource;
|
||||
use Filament\Actions\DeleteAction;
|
||||
use Filament\Resources\Pages\EditRecord;
|
||||
|
||||
class EditInviteLayout extends EditRecord
|
||||
{
|
||||
protected static string $resource = InviteLayoutResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
DeleteAction::make(),
|
||||
];
|
||||
}
|
||||
|
||||
protected function mutateFormDataBeforeSave(array $data): array
|
||||
{
|
||||
return InviteLayoutResource::normalizePayload($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user