protected function getTableHeaderActions(): array
{
return [
Action::make('format sebaran')->button()
->action(fn () => $this->record->advance())
->modalContent(
fn () => view(
'filament.pages.format-sebaran',
['list' => FormatSebaranResource::collection($this->sebaran->take(10000))]
)
)->modalActions([
ModalActionsAction::make('tutup')->cancel()
->color('secondary')
]),
];
}
protected function getTableHeaderActions(): array
{
return [
Action::make('format sebaran')->button()
->action(fn () => $this->record->advance())
->modalContent(
fn () => view(
'filament.pages.format-sebaran',
['list' => FormatSebaranResource::collection($this->sebaran->take(10000))]
)
)->modalActions([
ModalActionsAction::make('tutup')->cancel()
->color('secondary')
]),
];
}