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