@flowgram.ai/free-layout-core 0.4.18 → 0.4.19
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.
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/dist/esm/index.js
CHANGED
|
@@ -3009,7 +3009,7 @@ var WorkflowDragService = class {
|
|
|
3009
3009
|
return;
|
|
3010
3010
|
}
|
|
3011
3011
|
const sourceContainer = nodes[0]?.parent;
|
|
3012
|
-
if (!sourceContainer) {
|
|
3012
|
+
if (!sourceContainer || sourceContainer.flowNodeType === FlowNodeBaseType3.ROOT) {
|
|
3013
3013
|
return;
|
|
3014
3014
|
}
|
|
3015
3015
|
const valid = nodes.every((node) => node?.parent === sourceContainer);
|