Update UI to support setting "Continue on Error" for tasks

This commit is contained in:
Dane Everitt 2021-05-01 11:24:18 -07:00
parent 92cd659db3
commit ea057cb1cb
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
7 changed files with 149 additions and 124 deletions

View file

@ -104,15 +104,15 @@ const EditScheduleModal = ({ schedule }: Props) => {
</p>
<div css={tw`mt-6 bg-neutral-700 border border-neutral-800 shadow-inner p-4 rounded`}>
<FormikSwitch
name={'only_when_online'}
description={'If disabled this schedule will always run, regardless of the server\'s current power state.'}
name={'onlyWhenOnline'}
description={'Only execute this schedule when the server is in a running state.'}
label={'Only When Server Is Online'}
/>
</div>
<div css={tw`mt-6 bg-neutral-700 border border-neutral-800 shadow-inner p-4 rounded`}>
<FormikSwitch
name={'enabled'}
description={'If disabled this schedule and it\'s associated tasks will not run.'}
description={'This schedule will be executed automatically if enabled.'}
label={'Schedule Enabled'}
/>
</div>