@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 !field.isRequired && field.isChecked;
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 !field.isRequired && field.isChecked;
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 !field.isRequired && field.isChecked;
647
+ return field.isChecked;
648
648
  }).length;
649
649
  if (checkedFieldsCount < 1) {
650
650
  errors.fields.missing = true;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-frontend-extensions/export-resources-modal",
3
3
  "description": "Shared export modal for exporting resources",
4
- "version": "4.8.5",
4
+ "version": "4.8.6",
5
5
  "license": "BSD-3-Clause",
6
6
  "publishConfig": {
7
7
  "access": "public"