fix issue with CrudConfiguration::setGlobalBatchAction
This commit is contained in:
parent
521ed5ce64
commit
b9b07c1409
|
@ -142,7 +142,7 @@ class CrudConfiguration
|
||||||
callable $callback
|
callable $callback
|
||||||
): self
|
): self
|
||||||
{
|
{
|
||||||
$this->setBatchAction($page, $action, $name);
|
$this->setBatchAction($page, $action, $label, $callback);
|
||||||
$this->batchActions[$page][$action]['isGlobal'] = true;
|
$this->batchActions[$page][$action]['isGlobal'] = true;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
|
Loading…
Reference in a new issue