This commit is contained in:
Kavalar 2024-07-15 15:54:11 +03:00
parent 338555d62c
commit f9fc6b9f17

View File

@ -25,7 +25,8 @@ class ListJsonTable
public function __construct(string $json)
{
$this->beforePrintCell = false;
$this->beforePrint = function (){};
$this->beforePrint = function () {
};
$this->json = $json;
$this->data = json_decode($this->json, true);
$this->baseUrl = $this->data['meta']['baseUrl'] ?? '';
@ -126,8 +127,7 @@ class ListJsonTable
if (in_array($column, $this->data['meta']['fillable'])) {
return true;
}
}
else{
} else {
return true;
}