diff --git a/judo-ui-react/src/main/resources/actor/src/fragments/page/local-validate.fragment.hbs b/judo-ui-react/src/main/resources/actor/src/fragments/page/local-validate.fragment.hbs index f9c36179..52255d19 100644 --- a/judo-ui-react/src/main/resources/actor/src/fragments/page/local-validate.fragment.hbs +++ b/judo-ui-react/src/main/resources/actor/src/fragments/page/local-validate.fragment.hbs @@ -9,8 +9,8 @@ const requiredByRecord: Record = { {{/ each }} }; -const result = passesLocalValidation<{{ classDataName (getReferenceClassType page) '' }}>(data, requiredByRecord, t, setValidation); +const validationResult = passesLocalValidation<{{ classDataName (getReferenceClassType page) '' }}>(data, requiredByRecord, t, setValidation); -if (!result) { +if (!validationResult) { return; }