@commercetools-frontend-extensions/export-resources-modal 4.8.5 → 4.8.6
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.
|
@@ -683,7 +683,7 @@ function validate(_ref) {
|
|
|
683
683
|
const allFields = _reduceInstanceProperty__default["default"](groups).call(groups, (acc, group) => _concatInstanceProperty__default["default"](acc).call(acc, group.fields), []);
|
|
684
684
|
const checkedFieldsCount = _filterInstanceProperty__default["default"](allFields).call(allFields, field => {
|
|
685
685
|
if (field.fields) return isAnyFieldChecked(field.fields);
|
|
686
|
-
return
|
|
686
|
+
return field.isChecked;
|
|
687
687
|
}).length;
|
|
688
688
|
if (checkedFieldsCount < 1) {
|
|
689
689
|
errors.fields.missing = true;
|
|
@@ -683,7 +683,7 @@ function validate(_ref) {
|
|
|
683
683
|
const allFields = _reduceInstanceProperty__default["default"](groups).call(groups, (acc, group) => _concatInstanceProperty__default["default"](acc).call(acc, group.fields), []);
|
|
684
684
|
const checkedFieldsCount = _filterInstanceProperty__default["default"](allFields).call(allFields, field => {
|
|
685
685
|
if (field.fields) return isAnyFieldChecked(field.fields);
|
|
686
|
-
return
|
|
686
|
+
return field.isChecked;
|
|
687
687
|
}).length;
|
|
688
688
|
if (checkedFieldsCount < 1) {
|
|
689
689
|
errors.fields.missing = true;
|
|
@@ -644,7 +644,7 @@ function validate(_ref) {
|
|
|
644
644
|
const allFields = _reduceInstanceProperty(groups).call(groups, (acc, group) => _concatInstanceProperty(acc).call(acc, group.fields), []);
|
|
645
645
|
const checkedFieldsCount = _filterInstanceProperty(allFields).call(allFields, field => {
|
|
646
646
|
if (field.fields) return isAnyFieldChecked(field.fields);
|
|
647
|
-
return
|
|
647
|
+
return field.isChecked;
|
|
648
648
|
}).length;
|
|
649
649
|
if (checkedFieldsCount < 1) {
|
|
650
650
|
errors.fields.missing = true;
|
package/package.json
CHANGED