mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-14 03:46:49 +03:00
formatting
This commit is contained in:
@@ -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[],
|
||||
|
||||
Reference in New Issue
Block a user