Skip to content

Commit 3331c82

Browse files
author
Tamara Vukovic
committed
Fix variable declaration
ISSUE: LIS-72
1 parent 9fb2be1 commit 3331c82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/resources/js/ValidationService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ if (typeof SequraFE.regex === 'undefined'){
310310
'validation.invalidJSON'
311311
) && isValid;
312312

313-
isPaymentMethodValid = allowedPaymentMethods.some(pm => pm.product === location.product)
313+
let isPaymentMethodValid = allowedPaymentMethods.some(pm => pm.product === location.product)
314314
&& value.filter(l => l.product === location.product).length === 1;
315315

316316
isValid = validateField(

src/services/ValidationService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ if (typeof SequraFE.regex === 'undefined'){
310310
'validation.invalidJSON'
311311
) && isValid;
312312

313-
isPaymentMethodValid = allowedPaymentMethods.some(pm => pm.product === location.product)
313+
let isPaymentMethodValid = allowedPaymentMethods.some(pm => pm.product === location.product)
314314
&& value.filter(l => l.product === location.product).length === 1;
315315

316316
isValid = validateField(

0 commit comments

Comments
 (0)