pds-dev-kit-web-test 2.5.101 → 2.5.103

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.
@@ -212,16 +212,12 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
212
212
  };
213
213
  var getCollisionGroupIds = function (cdId1) {
214
214
  var layoutItem = (0, renderHelpers_1.getLayoutItem)(layouts[layoutByDevice], cdId1.toString());
215
- if (!layoutItem || !selectedBlockId) {
215
+ if (!layoutItem) {
216
216
  return [];
217
217
  }
218
218
  var allCollisions = (0, renderHelpers_1.getAllCollisions)(layouts[layoutByDevice], layoutItem);
219
219
  var allCollisionsCbIds = allCollisions.map(function (each) { return Number(each.i); });
220
- var workdir = (0, group_1.getBlockWorkDirPath)(newblock, selectedBlockId);
221
- if (!workdir) {
222
- return [];
223
- }
224
- var workDirChildrenBlockIds = (0, group_1.findDirectChildrenBlockIds)(newblock, workdir);
220
+ var workDirChildrenBlockIds = (0, group_1.findDirectChildrenBlockIds)(newblock, (0, group_1.formatCbIdToBlockId)(cdId1));
225
221
  var collisions = workDirChildrenBlockIds.filter(function (each) {
226
222
  var cbId = (0, group_1.formatBlockIdToCbId)(each);
227
223
  var allCollisions = (0, group_1.findAllChildrenCbIds)(newblock, each);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.101",
3
+ "version": "2.5.103",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",