fix: add color error handling in CreateLabelDialog form validation
This commit is contained in:
parent
88ad640ec0
commit
4d39a91986
@ -59,6 +59,7 @@
|
||||
if (parseResult.error) {
|
||||
const errorResult = z.treeifyError(parseResult.error).properties;
|
||||
formErrors.name = errorResult?.name?.errors[0];
|
||||
formErrors.color = errorResult?.color?.errors[0];
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user