formatting

This commit is contained in:
proddy
2026-06-08 20:41:05 +02:00
parent 8a45e79071
commit ecf416dc0a
2 changed files with 6 additions and 10 deletions

View File

@@ -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[],