Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
5f46431d45 | |||
02a3e52b7d |
@ -290,6 +290,9 @@ class ListJsonTable extends JasonTable
|
|||||||
$this->html .= "<td></td>";
|
$this->html .= "<td></td>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ($this->showActionColumn) {
|
||||||
|
$this->html .= "<td></td>";
|
||||||
|
}
|
||||||
$this->html .= "</form></tr>";
|
$this->html .= "</form></tr>";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -326,7 +329,7 @@ class ListJsonTable extends JasonTable
|
|||||||
$hookAfter = $this->afterPrintHook;
|
$hookAfter = $this->afterPrintHook;
|
||||||
$this->html .= $hookAfter($this->data['meta']);
|
$this->html .= $hookAfter($this->data['meta']);
|
||||||
|
|
||||||
if ($this->pagination) {
|
if ($this->pagination && $this->data['data']) {
|
||||||
$options = [
|
$options = [
|
||||||
'countItem' => $this->data['meta']['total'],
|
'countItem' => $this->data['meta']['total'],
|
||||||
'perPage' => $this->data['meta']['perPage'] ?? 10,
|
'perPage' => $this->data['meta']['perPage'] ?? 10,
|
||||||
|
Loading…
Reference in New Issue
Block a user