Skip to content

Commit

Permalink
Release 4.0.31
Browse files Browse the repository at this point in the history
  • Loading branch information
sauliususonis committed Apr 6, 2022
1 parent c714058 commit ddfe2de
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tail -f var/log/wallee_payment*.log

## Documentation

[Documentation](https://plugin-documentation.wallee.com/wallee-payment/shopware-6/4.0.30/docs/en/documentation.html)
[Documentation](https://plugin-documentation.wallee.com/wallee-payment/shopware-6/4.0.31/docs/en/documentation.html)

## License

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@
"wallee/sdk": "3.0.1"
},
"type": "shopware-platform-plugin",
"version": "4.0.30"
"version": "4.0.31"
}
2 changes: 1 addition & 1 deletion docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/wallee-payment/shopware-6/releases/tag/4.0.30/">
<a href="https://github.com/wallee-payment/shopware-6/releases/tag/4.0.31/">
Source
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ Component.register('sw-wallee-advanced-options', {
return value.length <= 0;
},

checkNumberFieldInheritance(value) {
if (typeof value !== 'number') {
return true;
}

return value.length <= 0;
},

checkBoolFieldInheritance(value) {
return typeof value !== 'boolean';
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<sw-inherit-wrapper
v-model="actualConfigData[CONFIG_SPACE_ID]"
:inheritedValue="selectedSalesChannelId === null ? null : allConfigs['null'][CONFIG_SPACE_ID]"
:customInheritationCheckFunction="checkTextFieldInheritance">
:customInheritationCheckFunction="checkNumberFieldInheritance">
<template #content="props">
<sw-number-field
:name="CONFIG_SPACE_ID"
Expand All @@ -36,7 +36,7 @@
<sw-inherit-wrapper
v-model="actualConfigData[CONFIG_USER_ID]"
:inheritedValue="selectedSalesChannelId === null ? null : allConfigs['null'][CONFIG_USER_ID]"
:customInheritationCheckFunction="checkTextFieldInheritance">
:customInheritationCheckFunction="checkNumberFieldInheritance">
<template #content="props">
<sw-number-field
:name="CONFIG_USER_ID"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ Component.register('sw-wallee-credentials', {
return value.length <= 0;
},

checkNumberFieldInheritance(value) {
if (typeof value !== 'number') {
return true;
}

return value.length <= 0;
},

checkBoolFieldInheritance(value) {
return typeof value !== 'boolean';
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<sw-inherit-wrapper
v-model="actualConfigData[CONFIG_SPACE_VIEW_ID]"
:inheritedValue="selectedSalesChannelId === null ? null : allConfigs['null'][CONFIG_SPACE_VIEW_ID]"
:customInheritationCheckFunction="checkTextFieldInheritance">
:customInheritationCheckFunction="checkNumberFieldInheritance">
<template #content="props">
<sw-number-field
:name="CONFIG_SPACE_VIEW_ID"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ Component.register('sw-wallee-options', {
return value.length <= 0;
},

checkNumberFieldInheritance(value) {
if (typeof value !== 'number') {
return true;
}

return value.length <= 0;
},

checkBoolFieldInheritance(value) {
return typeof value !== 'boolean';
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ Component.register('sw-wallee-storefront-options', {
return value.length <= 0;
},

checkNumberFieldInheritance(value) {
if (typeof value !== 'number') {
return true;
}

return value.length <= 0;
},

checkBoolFieldInheritance(value) {
return typeof value !== 'boolean';
}
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/public/administration/js/wallee-payment.js

Large diffs are not rendered by default.

0 comments on commit ddfe2de

Please sign in to comment.