mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 10:54:46 +02:00
Make restart
the default payload when using PowerAction
in Schedules
(#1059)
This commit is contained in:
parent
5512c10ee1
commit
6caa741798
@ -62,7 +62,8 @@ class TasksRelationManager extends RelationManager
|
|||||||
'stop' => 'Stop',
|
'stop' => 'Stop',
|
||||||
'kill' => 'Kill',
|
'kill' => 'Kill',
|
||||||
])
|
])
|
||||||
->selectablePlaceholder(false),
|
->selectablePlaceholder(false)
|
||||||
|
->default('restart'),
|
||||||
TextInput::make('time_offset')
|
TextInput::make('time_offset')
|
||||||
->hidden(fn (Get $get) => config('queue.default') === 'sync' || $get('sequence_id') === 1)
|
->hidden(fn (Get $get) => config('queue.default') === 'sync' || $get('sequence_id') === 1)
|
||||||
->default(0)
|
->default(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user