diff --git a/view/adminhtml/web/js/ConnectionSettingsForm.js b/view/adminhtml/web/js/ConnectionSettingsForm.js index 8868003..765b152 100644 --- a/view/adminhtml/web/js/ConnectionSettingsForm.js +++ b/view/adminhtml/web/js/ConnectionSettingsForm.js @@ -142,7 +142,7 @@ if (!window.SequraFE) { buttonLabel: 'general.continue', onClick: handleSave }) - ) + ); !SequraFE.isPromotional && document.querySelector('.sq-statistics .sqp-field-subtitle').append( generator.createButtonLink({ @@ -151,7 +151,7 @@ if (!window.SequraFE) { href: 'https://en.sequra.com/', openInNewTab: true }) - ) + ); return; } diff --git a/view/adminhtml/web/js/GeneralSettingsForm.js b/view/adminhtml/web/js/GeneralSettingsForm.js index 94e8028..39f952b 100644 --- a/view/adminhtml/web/js/GeneralSettingsForm.js +++ b/view/adminhtml/web/js/GeneralSettingsForm.js @@ -244,7 +244,7 @@ if (!window.SequraFE) { document.querySelector(`[name="country_${setting.countryCode}"]`), 'validation.requiredField' ) && errorCount++; - }) + }); return errorCount === 0; } @@ -354,7 +354,7 @@ if (!window.SequraFE) { configuration.validateConnectionDataUrl, {...data.connectionSettings, merchantId: config.merchantId} )) - }) + }); return Promise.all(promises); } diff --git a/view/adminhtml/web/js/OrderStatusMappingSettingsForm.js b/view/adminhtml/web/js/OrderStatusMappingSettingsForm.js index c1b7024..5df7ed1 100644 --- a/view/adminhtml/web/js/OrderStatusMappingSettingsForm.js +++ b/view/adminhtml/web/js/OrderStatusMappingSettingsForm.js @@ -158,7 +158,7 @@ if (!window.SequraFE) { label: shopOrderStatus.statusName.charAt(0).toUpperCase() + shopOrderStatus.statusName.slice(1), value: shopOrderStatus.statusId }) - }) + }); return options; } diff --git a/view/adminhtml/web/js/StateController.js b/view/adminhtml/web/js/StateController.js index 8ca27c8..3c63711 100644 --- a/view/adminhtml/web/js/StateController.js +++ b/view/adminhtml/web/js/StateController.js @@ -283,7 +283,7 @@ SequraFE.appPages = { let config = utilities.cloneObject(configuration.pageConfiguration[controllerName] || {}); Object.keys(config).forEach((key) => { config[key] = config[key].replace(encodeURIComponent('{storeId}'), this.getStoreId); - }) + }); page && (config.page = page); diff --git a/view/adminhtml/web/js/WidgetSettingsForm.js b/view/adminhtml/web/js/WidgetSettingsForm.js index 972b0d0..3372db9 100644 --- a/view/adminhtml/web/js/WidgetSettingsForm.js +++ b/view/adminhtml/web/js/WidgetSettingsForm.js @@ -351,7 +351,7 @@ if (!window.SequraFE) { validator.validateRequiredField( document.querySelector('[name="assets-key-input"]'), 'validation.requiredField' - ) + ); return; }