Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dist/resources/css/sequra-core.css
Original file line number Diff line number Diff line change
Expand Up @@ -1561,6 +1561,9 @@
background-size: 16px 16px;
cursor: pointer;
vertical-align: middle;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#sequra-page .sq-table .sq-table__row .sq-table__row-field {
padding: 6px 16px;
Expand All @@ -1569,6 +1572,7 @@
border-radius: 6px;
margin-left: 0;
margin-right: 0;
width: 90%;
}
#sequra-page .sq-table .sq-table__body {
display: grid;
Expand Down
2 changes: 1 addition & 1 deletion dist/resources/js/TranslationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if (!window.SequraFE) {
* @returns {null|string}
*/
const getTranslation = (type, group, key) => {
if (SequraFE.translations[type][group] && SequraFE.translations[type][group]) {
if (SequraFE.translations[type][group]) {
let value = SequraFE.translations[type][group];
if (Array.isArray(key)) {
return key.reduce((value, key) => {
Expand Down
2 changes: 1 addition & 1 deletion dist/resources/js/UtilityService.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if (!window.SequraFE) {
const saveButton = document.querySelector('.sq-page-footer .sqp-actions .sqp-save');
const cancelButton = document.querySelector('.sq-page-footer .sqp-actions .sqp-cancel');

if(saveButton && cancelButton){
if (saveButton && cancelButton) {
saveButton.disabled = disable;
cancelButton.disabled = disable;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/resources/js/ValidationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ if (typeof SequraFE.regex === 'undefined'){
'validation.invalidJSON'
) && isValid;

isPaymentMethodValid = allowedPaymentMethods.some(pm => pm.product === location.product)
let isPaymentMethodValid = allowedPaymentMethods.some(pm => pm.product === location.product)
&& value.filter(l => l.product === location.product).length === 1;

isValid = validateField(
Expand Down
Loading