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

@@ -286,11 +286,7 @@ const SchedulerDialog = ({
onChange={updateFormValue}
/>
{isTimerSchedule && (
<Typography
sx={{ ml: 2, mt: 4 }}
color="warning"
variant="body2"
>
<Typography sx={{ ml: 2, mt: 4 }} color="warning" variant="body2">
{LL.SCHEDULER_HELP_2()}
</Typography>
)}

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