@flowgram.ai/free-layout-core 0.1.18 → 0.1.21
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 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -2518,10 +2518,7 @@ var WorkflowDragService = class {
|
|
|
2518
2518
|
dragNodeType: type,
|
|
2519
2519
|
dropNode
|
|
2520
2520
|
});
|
|
2521
|
-
|
|
2522
|
-
return this.clearDrop();
|
|
2523
|
-
}
|
|
2524
|
-
const dragNode = await this.dropCard(type, e, data, dropNode);
|
|
2521
|
+
const dragNode = allowDrop ? await this.dropCard(type, e, data, dropNode) : void 0;
|
|
2525
2522
|
this.clearDrop();
|
|
2526
2523
|
if (dragNode) {
|
|
2527
2524
|
domNode.remove();
|