mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update InteractsWithActions.php
This commit is contained in:
@@ -260,6 +260,10 @@ trait InteractsWithActions
|
||||
return $action;
|
||||
}
|
||||
|
||||
if (! method_exists($this, $name)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$action = Action::configureUsing(
|
||||
Closure::fromCallable([$this, 'configureAction']),
|
||||
fn () => $this->{$name}(),
|
||||
|
||||
Reference in New Issue
Block a user