bxs-tools-ui 1.5.8 → 1.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3753,7 +3753,7 @@ function initInterestFormValues(values, data) {
|
|
|
3753
3753
|
Object.keys(formData).filter(function (k) {
|
|
3754
3754
|
return !formData[k] && data && data[k];
|
|
3755
3755
|
}).forEach(function (k) {
|
|
3756
|
-
if (['bonus', 'rate'].includes(k)) {
|
|
3756
|
+
if (['bonus', 'rate', 'takeType'].includes(k)) {
|
|
3757
3757
|
formData[k] = data[k].value;
|
|
3758
3758
|
return;
|
|
3759
3759
|
}
|
package/lib/index.js
CHANGED
|
@@ -35109,7 +35109,7 @@ function initInterestFormValues(values, data) {
|
|
|
35109
35109
|
Object.keys(formData).filter(function (k) {
|
|
35110
35110
|
return !formData[k] && data && data[k];
|
|
35111
35111
|
}).forEach(function (k) {
|
|
35112
|
-
if (['bonus', 'rate'].includes(k)) {
|
|
35112
|
+
if (['bonus', 'rate', 'takeType'].includes(k)) {
|
|
35113
35113
|
formData[k] = data[k].value;
|
|
35114
35114
|
return;
|
|
35115
35115
|
}
|
package/package.json
CHANGED
|
@@ -58,7 +58,7 @@ export function initInterestFormValues(values, data) {
|
|
|
58
58
|
Object.keys(formData)
|
|
59
59
|
.filter(k => !formData[k] && data && data[k])
|
|
60
60
|
.forEach(k => {
|
|
61
|
-
if (['bonus', 'rate'].includes(k)) {
|
|
61
|
+
if (['bonus', 'rate', 'takeType'].includes(k)) {
|
|
62
62
|
formData[k] = data[k].value;
|
|
63
63
|
return;
|
|
64
64
|
}
|