mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Fix use of onlyWhenOnline
This commit is contained in:
@@ -79,7 +79,8 @@ const EditScheduleModal = ({ schedule }: Props) => {
|
||||
dayOfMonth: schedule?.cron.dayOfMonth || '*',
|
||||
month: schedule?.cron.month || '*',
|
||||
dayOfWeek: schedule?.cron.dayOfWeek || '*',
|
||||
enabled: schedule ? schedule.isActive : true,
|
||||
enabled: schedule?.isActive ?? true,
|
||||
onlyWhenOnline: schedule?.onlyWhenOnline ?? true,
|
||||
} as Values}
|
||||
>
|
||||
{({ isSubmitting }) => (
|
||||
|
||||
Reference in New Issue
Block a user