mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-05-16 18:58:05 +08:00
fix: disable nested folders in connections pane
This commit is contained in:
parent
e071e65701
commit
ed18d8b5ee
@ -447,6 +447,9 @@ const handleDrop = ({ node, dragNode, dropPosition }) => {
|
||||
if (dragNodeSiblings === null || dragNodeIndex === null) {
|
||||
return
|
||||
}
|
||||
if (node.type === ConnectionType.Group && dragNode.type === ConnectionType.Group) {
|
||||
return
|
||||
}
|
||||
dragNodeSiblings.splice(dragNodeIndex, 1)
|
||||
if (dropPosition === 'inside') {
|
||||
if (node.children) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user