27 lines
718 B
PHP
27 lines
718 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Resources\FindingExceptionResource\Pages;
|
|
|
|
use App\Filament\Resources\FindingExceptionResource;
|
|
use App\Filament\Resources\FindingResource;
|
|
use Filament\Actions\Action;
|
|
use Filament\Resources\Pages\ListRecords;
|
|
|
|
class ListFindingExceptions extends ListRecords
|
|
{
|
|
protected static string $resource = FindingExceptionResource::class;
|
|
|
|
protected function getHeaderActions(): array
|
|
{
|
|
return [
|
|
Action::make('open_findings')
|
|
->label('Open findings')
|
|
->icon('heroicon-o-arrow-top-right-on-square')
|
|
->color('gray')
|
|
->url(FindingResource::getUrl('index')),
|
|
];
|
|
}
|
|
}
|