publ-echo-test 0.0.162 → 0.0.163
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.
@@ -119,10 +119,10 @@ export var findGroupBlocks = function (block, targetId) {
|
|
119
119
|
if (bulkInTarget && bulkInTarget.type === 'GROUP_BLOCK') {
|
120
120
|
var groupInBulk = bulkInTarget.children.filter(function (child) { return child.type === 'GROUP_BLOCK'; });
|
121
121
|
if (targetBlock.blockId === 'ROOT') {
|
122
|
-
return
|
122
|
+
return groupBlocks.concat(groupInBulk);
|
123
123
|
}
|
124
124
|
if (groupInBulk && groupInBulk.length > 0) {
|
125
|
-
return groupBlocks.concat(groupInBulk);
|
125
|
+
return [targetBlock].concat(groupBlocks).concat(groupInBulk);
|
126
126
|
}
|
127
127
|
}
|
128
128
|
if (targetBlock.blockId === 'ROOT') {
|