pds-dev-kit-web-test 2.5.721 → 2.5.722

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.
@@ -267,20 +267,20 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
267
267
  return Array.from(set);
268
268
  });
269
269
  setSelectedBlockId(null);
270
- var newBulkCBIds = bulks_1
270
+ var newBulkIdsSet = new Set(__spreadArray(__spreadArray([], bulkBlockIds, true), bulks_1, true));
271
+ var newBulkIdsArray = Array.from(newBulkIdsSet);
272
+ var newBulkCBIds = newBulkIdsArray
271
273
  .map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
272
274
  .filter(function (each) { return each !== null; });
273
- var newBulkCBIdsSet = new Set(newBulkCBIds);
274
- var newbulkCBIdsArray = Array.from(newBulkCBIdsSet);
275
275
  var childrenCBIds = [];
276
276
  if (newBulkCBIds.length === 0) {
277
277
  var oneCB = (0, group_1.findOneComponentBlock)(newblock, bulks_1[0]);
278
278
  childrenCBIds = oneCB ? [oneCB] : [];
279
279
  }
280
280
  else {
281
- childrenCBIds = newbulkCBIdsArray;
281
+ childrenCBIds = newBulkCBIds;
282
282
  }
283
- var groupDisabled = getWorkDirDirectChildrenLength() === __spreadArray(__spreadArray([], bulkBlockIds, true), bulks_1, true).length;
283
+ var groupDisabled = getWorkDirDirectChildrenLength() === newBulkIdsArray.length;
284
284
  sectionActionHandler &&
285
285
  sectionActionHandler({
286
286
  type: '@CUSTOMSECTION/BLOCK_CLICKED',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.721",
3
+ "version": "2.5.722",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",