diff --git a/interface/src/app/main/SchedulerDialog.tsx b/interface/src/app/main/SchedulerDialog.tsx index bd124b9eb..b4e946f38 100644 --- a/interface/src/app/main/SchedulerDialog.tsx +++ b/interface/src/app/main/SchedulerDialog.tsx @@ -286,11 +286,7 @@ const SchedulerDialog = ({ onChange={updateFormValue} /> {isTimerSchedule && ( - + {LL.SCHEDULER_HELP_2()} )} diff --git a/interface/src/app/main/validators.ts b/interface/src/app/main/validators.ts index 4bef5f07f..a1c2e7d26 100644 --- a/interface/src/app/main/validators.ts +++ b/interface/src/app/main/validators.ts @@ -238,13 +238,13 @@ export const schedulerItemValidation = ( NAME_PATTERN_REQUIRED, uniqueNameValidator(schedule, scheduleItem.o_name) ], - cmd_name: [ - { required: true, message: 'Command is required' } - ] + cmd_name: [{ required: true, message: 'Command is required' }] }); -export const uniqueCommandNameValidator = (commands: CommandItem[], o_name?: string) => - createUniqueNameValidator(commands, o_name); +export const uniqueCommandNameValidator = ( + commands: CommandItem[], + o_name?: string +) => createUniqueNameValidator(commands, o_name); export const commandItemValidation = ( commands: CommandItem[],