mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-17 12:24:37 -04:00
Skip showing the page if no fields
This commit is contained in:
parent
b755daf7f5
commit
9516f877f6
@ -139,7 +139,9 @@ class RequiredClientInfo extends Component
|
|||||||
|
|
||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
$this->checkFields();
|
count($this->fields) > 0
|
||||||
|
? $this->checkFields()
|
||||||
|
: $this->show_form = false;
|
||||||
|
|
||||||
return render('components.livewire.required-client-info');
|
return render('components.livewire.required-client-info');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user