mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 02:54:45 +02:00
Set Schedule
next_run_at in ListSchedules
to Never if disabled (#1176)
This commit is contained in:
parent
9a258efe53
commit
68a6dc45cb
@ -39,8 +39,10 @@ class ListSchedules extends ListRecords
|
||||
->sortable(),
|
||||
DateTimeColumn::make('next_run_at')
|
||||
->label('Next run')
|
||||
->placeholder('Never')
|
||||
->since()
|
||||
->sortable(),
|
||||
->sortable()
|
||||
->state(fn (Schedule $schedule) => $schedule->is_active ? $schedule->next_run_at : null),
|
||||
])
|
||||
->actions([
|
||||
ViewAction::make(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user