fix batch action setter
This commit is contained in:
parent
28f9a9f3f6
commit
202d2cf78c
|
@ -127,7 +127,7 @@ class CrudConfiguration
|
|||
|
||||
public function setBatchAction(string $page, string $action, string $label, callable $callback): self
|
||||
{
|
||||
if (!isset($this->actions[$page])) {
|
||||
if (!isset($this->batchActions[$page])) {
|
||||
$this->batchActions[$page] = [];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue