mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for livewire
This commit is contained in:
parent
c8fc1a36a3
commit
9916288cab
@ -52,6 +52,8 @@ class DocumentsTable extends Component
|
|||||||
|
|
||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
|
$this->updateResources(request()->tab ?: $this->tab);
|
||||||
|
|
||||||
return render('components.livewire.documents-table', [
|
return render('components.livewire.documents-table', [
|
||||||
'documents' => $this->query
|
'documents' => $this->query
|
||||||
->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc')
|
->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user