From ecf416dc0a5b81498141b29cb7850b4f0500c24a Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 8 Jun 2026 20:41:05 +0200 Subject: [PATCH] formatting --- interface/src/app/main/SchedulerDialog.tsx | 6 +----- interface/src/app/main/validators.ts | 10 +++++----- 2 files changed, 6 insertions(+), 10 deletions(-) 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[],