mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
25 lines
534 B
PHP
25 lines
534 B
PHP
<?php
|
|
|
|
namespace App\Filament;
|
|
|
|
use Filament\Resources\Pages\ListRecords;
|
|
use Filament\Tables\Filters\Layout;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class PageList extends ListRecords
|
|
{
|
|
protected ?string $maxContentWidth = 'full';
|
|
|
|
protected function getTableRecordUrlUsing(): ?\Closure
|
|
{
|
|
return function (Model $record): ?string {
|
|
return null;
|
|
};
|
|
}
|
|
|
|
protected function getTableFiltersLayout(): ?string
|
|
{
|
|
return \Filament\Tables\Enums\FiltersLayout::AboveContent;
|
|
}
|
|
}
|