Skip to content

Commit

Permalink
Add missing semi-colons
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Apr 25, 2024
1 parent 81a8869 commit b790534
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions view/adminhtml/web/js/ConnectionSettingsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ if (!window.SequraFE) {
buttonLabel: 'general.continue',
onClick: handleSave
})
)
);

!SequraFE.isPromotional && document.querySelector('.sq-statistics .sqp-field-subtitle').append(
generator.createButtonLink({
Expand All @@ -151,7 +151,7 @@ if (!window.SequraFE) {
href: 'https://en.sequra.com/',
openInNewTab: true
})
)
);

return;
}
Expand Down
4 changes: 2 additions & 2 deletions view/adminhtml/web/js/GeneralSettingsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ if (!window.SequraFE) {
document.querySelector(`[name="country_${setting.countryCode}"]`),
'validation.requiredField'
) && errorCount++;
})
});

return errorCount === 0;
}
Expand Down Expand Up @@ -354,7 +354,7 @@ if (!window.SequraFE) {
configuration.validateConnectionDataUrl,
{...data.connectionSettings, merchantId: config.merchantId}
))
})
});

return Promise.all(promises);
}
Expand Down
2 changes: 1 addition & 1 deletion view/adminhtml/web/js/OrderStatusMappingSettingsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ if (!window.SequraFE) {
label: shopOrderStatus.statusName.charAt(0).toUpperCase() + shopOrderStatus.statusName.slice(1),
value: shopOrderStatus.statusId
})
})
});

return options;
}
Expand Down
2 changes: 1 addition & 1 deletion view/adminhtml/web/js/StateController.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion view/adminhtml/web/js/WidgetSettingsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ if (!window.SequraFE) {
validator.validateRequiredField(
document.querySelector('[name="assets-key-input"]'),
'validation.requiredField'
)
);

return;
}
Expand Down

0 comments on commit b790534

Please sign in to comment.