mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01: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()
|
||||
{
|
||||
$this->checkFields();
|
||||
count($this->fields) > 0
|
||||
? $this->checkFields()
|
||||
: $this->show_form = false;
|
||||
|
||||
return render('components.livewire.required-client-info');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user