public string $step = 'step-1';
public $queryString = [
'activeTab',
'step'
];
protected function getHeaderActions(): array
{
return [
Actions\EditAction::make()
->url(fn ($record) => ProjectResource::getUrl('edit', [
'record' => $record->id,
'step' => $this->step;
])),
Actions\DeleteAction::make(),
CommentsAction::make(),
];
}
public string $step = 'step-1';
public $queryString = [
'activeTab',
'step'
];
protected function getHeaderActions(): array
{
return [
Actions\EditAction::make()
->url(fn ($record) => ProjectResource::getUrl('edit', [
'record' => $record->id,
'step' => $this->step;
])),
Actions\DeleteAction::make(),
CommentsAction::make(),
];
}