mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 00:34:44 +02:00

* update ApiKeyResource * update DatabaseHostResource * update MountResource * update RoleResource * update UserResource * WebhookResource * fix phpstan * add back label translations for resources * add back other labels * upstream changes
26 lines
567 B
PHP
26 lines
567 B
PHP
<?php
|
|
|
|
namespace App\Filament\Admin\Resources\WebhookResource\Pages;
|
|
|
|
use App\Filament\Admin\Resources\WebhookResource;
|
|
use Filament\Resources\Pages\CreateRecord;
|
|
|
|
class CreateWebhookConfiguration extends CreateRecord
|
|
{
|
|
protected static string $resource = WebhookResource::class;
|
|
|
|
protected static bool $canCreateAnother = false;
|
|
|
|
protected function getHeaderActions(): array
|
|
{
|
|
return [
|
|
$this->getCreateFormAction()->formId('form'),
|
|
];
|
|
}
|
|
|
|
protected function getFormActions(): array
|
|
{
|
|
return [];
|
|
}
|
|
}
|