- Upgrade Filament framework from v3 to v4 - Update all Filament resources and pages for v4 compatibility - Fix test suite to maintain 100% pass rate (321 tests passing) - Add visibility condition for ticket close action (only when not closed) - Update dependencies and build assets for new Filament version - Maintain backward compatibility while leveraging v4 improvements
21 lines
427 B
PHP
21 lines
427 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\PageResource\Pages;
|
|
|
|
use Filament\Actions\CreateAction;
|
|
use App\Filament\Resources\PageResource;
|
|
use Filament\Actions;
|
|
use Filament\Resources\Pages\ListRecords;
|
|
|
|
class ListPages extends ListRecords
|
|
{
|
|
protected static string $resource = PageResource::class;
|
|
|
|
protected function getHeaderActions(): array
|
|
{
|
|
return [
|
|
CreateAction::make(),
|
|
];
|
|
}
|
|
}
|