Revert "Макс. констр. скорость (при ПСМ)" tbxMaxSpeed должна быть больше 0"

This reverts commit 61c6f41635f4645e4f570c28d0a6e5c6c3a60671.
This commit is contained in:
vchikalkin 2024-04-08 21:07:54 +03:00
parent 7d1cb64a03
commit 36753e222f

View File

@ -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'],
});
}
}
}
);