mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-02-18 01:18:42 +00:00
Minor functioinality improvements
This commit is contained in:
parent
440c7ed347
commit
56f6704a37
|
|
@ -31,6 +31,10 @@ class BaseView extends View
|
||||||
|
|
||||||
public function render(...$data) : string
|
public function render(...$data) : string
|
||||||
{
|
{
|
||||||
|
if (empty($data) || $data[0] === null) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
$this->calendar = $data[0];
|
$this->calendar = $data[0];
|
||||||
return parent::render();
|
return parent::render();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user