1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for livewire

This commit is contained in:
David Bomba 2022-07-28 08:29:18 +10:00
parent c8fc1a36a3
commit 9916288cab

View File

@ -52,6 +52,8 @@ class DocumentsTable extends Component
public function render()
{
$this->updateResources(request()->tab ?: $this->tab);
return render('components.livewire.documents-table', [
'documents' => $this->query
->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc')