fingap/validation: fix removeError is undefined
This commit is contained in:
parent
048da7947a
commit
7c40e2cf4f
@ -26,9 +26,7 @@ export default function validationReactions(
|
||||
({ hasPaymentsErrors, finGAPInsuranceCompany }) => {
|
||||
if (finGAPInsuranceCompany && hasPaymentsErrors) {
|
||||
removeError = $tables.fingap.validation.addError(errorText);
|
||||
} else {
|
||||
removeError();
|
||||
}
|
||||
} else if (removeError) removeError();
|
||||
},
|
||||
{
|
||||
fireImmediately: true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user