pds-dev-kit-web-test 2.5.206 → 2.5.207

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.
@@ -105,6 +105,11 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
105
105
  var found = (0, group_1.findBlockByBlockId)(sectionPedigree, editingGroupBlock);
106
106
  if (!found) {
107
107
  setEditingGroupBlock('ROOT');
108
+ return;
109
+ }
110
+ if (found.type === 'GROUP_BLOCK' && found.children.length === 0) {
111
+ setEditingGroupBlock('ROOT');
112
+ return;
108
113
  }
109
114
  }
110
115
  }, [editingGroupBlock, sectionPedigree]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.206",
3
+ "version": "2.5.207",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",