From 85c4a850b190e20944dc5ee5e888b6ecd342f82f Mon Sep 17 00:00:00 2001 From: Kavalar Date: Tue, 16 Jul 2024 13:26:29 +0300 Subject: [PATCH] set action --- src/ListJsonTable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ListJsonTable.php b/src/ListJsonTable.php index 29617a4..241a095 100644 --- a/src/ListJsonTable.php +++ b/src/ListJsonTable.php @@ -32,7 +32,6 @@ class ListJsonTable $this->json = $json; $this->data = json_decode($this->json, true); $this->baseUrl = $this->data['meta']['baseUrl'] ?? ''; - $this->setActions(); } public function beginTable(): void @@ -153,8 +152,9 @@ class ListJsonTable return $actions; } - public function create() + public function create(): void { + $this->setActions(); $this->beginTable(); $this->createThead(); $this->createTbody();