Make restart the default payload when using PowerAction in Schedules (#1059)

This commit is contained in:
MartinOscar 2025-03-05 22:10:48 +01:00 committed by GitHub
parent 5512c10ee1
commit 6caa741798
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,8 @@ class TasksRelationManager extends RelationManager
'stop' => 'Stop',
'kill' => 'Kill',
])
->selectablePlaceholder(false),
->selectablePlaceholder(false)
->default('restart'),
TextInput::make('time_offset')
->hidden(fn (Get $get) => config('queue.default') === 'sync' || $get('sequence_id') === 1)
->default(0)