tag
This commit is contained in:
parent
338555d62c
commit
f9fc6b9f17
@ -25,7 +25,8 @@ class ListJsonTable
|
|||||||
public function __construct(string $json)
|
public function __construct(string $json)
|
||||||
{
|
{
|
||||||
$this->beforePrintCell = false;
|
$this->beforePrintCell = false;
|
||||||
$this->beforePrint = function (){};
|
$this->beforePrint = function () {
|
||||||
|
};
|
||||||
$this->json = $json;
|
$this->json = $json;
|
||||||
$this->data = json_decode($this->json, true);
|
$this->data = json_decode($this->json, true);
|
||||||
$this->baseUrl = $this->data['meta']['baseUrl'] ?? '';
|
$this->baseUrl = $this->data['meta']['baseUrl'] ?? '';
|
||||||
@ -126,8 +127,7 @@ class ListJsonTable
|
|||||||
if (in_array($column, $this->data['meta']['fillable'])) {
|
if (in_array($column, $this->data['meta']['fillable'])) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else{
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user