table line action attribute issue
This commit is contained in:
parent
cba5dd519c
commit
366482f39f
@ -36,15 +36,13 @@ class Actions extends Component
|
|||||||
|
|
||||||
protected function getActions($actions)
|
protected function getActions($actions)
|
||||||
{
|
{
|
||||||
if (! empty($actions)) {
|
if (empty($actions)) {
|
||||||
return $actions;
|
|
||||||
}
|
|
||||||
|
|
||||||
$actions = [];
|
$actions = [];
|
||||||
|
|
||||||
if ($this->model && ! empty($this->model->line_actions)) {
|
if ($this->model && ! empty($this->model->line_actions)) {
|
||||||
$actions = $this->model->line_actions;
|
$actions = $this->model->line_actions;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
foreach ($actions as $key => $action) {
|
foreach ($actions as $key => $action) {
|
||||||
$attributes = [];
|
$attributes = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user