From c55c032a71ffc67be6564bd4c84d666e75d45317 Mon Sep 17 00:00:00 2001 From: Madmat8 Date: Wed, 31 Jul 2024 13:05:39 +0200 Subject: [PATCH] fix name collision --- .../actor/src/fragments/page/local-validate.fragment.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }