diff --git a/app/Http/Livewire/DocumentsTable.php b/app/Http/Livewire/DocumentsTable.php index b31adf0dcf..e5748d80e3 100644 --- a/app/Http/Livewire/DocumentsTable.php +++ b/app/Http/Livewire/DocumentsTable.php @@ -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')