Revert "Макс. констр. скорость (при ПСМ)" tbxMaxSpeed должна быть больше 0"
This reverts commit 61c6f41635f4645e4f570c28d0a6e5c6c3a60671.
This commit is contained in:
parent
7d1cb64a03
commit
36753e222f
@ -161,17 +161,6 @@ export function createValidationSchema({ apolloClient }: ValidationContext) {
|
||||
path: ['selectLeaseObjectCategory'],
|
||||
});
|
||||
}
|
||||
|
||||
if (
|
||||
evo_leasingobject_type?.evo_id &&
|
||||
['6', '9', '10'].includes(evo_leasingobject_type?.evo_id)
|
||||
) {
|
||||
ctx.addIssue({
|
||||
code: z.ZodIssueCode.custom,
|
||||
message: 'Значение поля должно быть больше 0',
|
||||
path: ['tbxMaxSpeed'],
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user