mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
update filamentphp basic
This commit is contained in:
@@ -10,7 +10,7 @@ class EditHitAndRun extends EditRecord
|
||||
{
|
||||
protected static string $resource = HitAndRunResource::class;
|
||||
|
||||
protected function getActions(): array
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
Actions\DeleteAction::make(),
|
||||
|
||||
@@ -11,7 +11,7 @@ class ListHitAndRuns extends PageList
|
||||
{
|
||||
protected static string $resource = HitAndRunResource::class;
|
||||
|
||||
protected function getActions(): array
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
// Actions\CreateAction::make(),
|
||||
|
||||
@@ -78,7 +78,7 @@ class ViewHitAndRun extends ViewRecord
|
||||
];
|
||||
}
|
||||
|
||||
protected function getActions(): array
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
$actions = [];
|
||||
if (in_array($this->record->status, HitAndRun::CAN_PARDON_STATUS)) {
|
||||
|
||||
Reference in New Issue
Block a user