правки: если 4 или 5, то должно быть больше 9, надо равно удалить
This commit is contained in:
parent
63380726a2
commit
85a2cc158a
@ -146,7 +146,7 @@ export function createValidationSchema({ apolloClient }: ValidationContext) {
|
||||
|
||||
if (
|
||||
(evo_leasingobject_type?.evo_id === '4' || evo_leasingobject_type?.evo_id === '5') &&
|
||||
countSeats < 9
|
||||
countSeats <= 9
|
||||
) {
|
||||
ctx.addIssue({
|
||||
code: z.ZodIssueCode.custom,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user