Add helpdesk import progress, category model, article metadata columns, and ticket pagination controls
This commit is contained in:
@@ -10,10 +10,17 @@ class TicketMonitor extends Component
|
||||
{
|
||||
use WithPagination;
|
||||
|
||||
public int $perPage = 10;
|
||||
|
||||
public function updatedPerPage(): void
|
||||
{
|
||||
$this->resetPage();
|
||||
}
|
||||
|
||||
public function render(AdminTicketService $service)
|
||||
{
|
||||
return view('livewire.admin.ticket-monitor', [
|
||||
'tickets' => $service->paginateWithDecision(10),
|
||||
'tickets' => $service->paginateWithDecision($this->perPage),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user