mirror of
https://github.com/Cybrarist/Discount-Bandit.git
synced 2026-11-24 19:49:54 +01:00
25 lines
515 B
PHP
25 lines
515 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Links\Pages;
|
|
|
|
use App\Filament\Resources\Links\LinkResource;
|
|
use Asmit\ResizedColumn\HasResizableColumn;
|
|
use Filament\Actions\CreateAction;
|
|
use Filament\Resources\Pages\ListRecords;
|
|
|
|
class ListLinks extends ListRecords
|
|
{
|
|
|
|
use HasResizableColumn;
|
|
protected static string $resource = LinkResource::class;
|
|
|
|
|
|
public function setPage($page, $pageName = 'page'): void
|
|
{
|
|
parent::setPage($page, $pageName);
|
|
|
|
$this->dispatch('scroll-to-top');
|
|
}
|
|
|
|
}
|