Skip to content

Commit

Permalink
view fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LeMatosDeFuk committed Sep 30, 2023
1 parent f8abf2e commit 2fa333f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/Livewire/BaseGrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function render(): View
);
}

return view('livewire.grid', [
return view('laragrid::grid', [
'records' => $query->paginate($this->perPage),
'columns' => $columns,
'theme' => $this->theme,
Expand Down
1 change: 1 addition & 0 deletions src/Providers/LaraGridServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public function register(): void

public function boot(): void
{
$this->loadViewsFrom(__DIR__ . '/../../resources/views', 'laragrid');
}

}

0 comments on commit 2fa333f

Please sign in to comment.