diff options
| author | bobzel <zzzman@gmail.com> | 2024-09-19 10:42:56 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-09-19 10:42:56 -0400 |
| commit | 478d3e6ec16a6acf941b74964889cd6cb74e87ca (patch) | |
| tree | 3238e7880f48544a2e483f40727dded51f73b4e6 /src/client/views/collections | |
| parent | 65a1a272b15fb9c08ef75a12946d7f3751a500c7 (diff) | |
| parent | e9167b125a59ff08b5d75691500d80359ebb4d41 (diff) | |
Merge branch 'master' into aisosa-starter
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/CollectionSubView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx index 99373da04..5d32482c3 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -253,7 +253,7 @@ export function CollectionSubView<X>() { protected onInternalDrop(e: Event, de: DragManager.DropEvent): boolean { const { docDragData } = de.complete; - if (docDragData) { + if (docDragData && !docDragData.draggedDocuments.includes(this.Document)) { let added; const dropAction = docDragData.dropAction || docDragData.userDropAction; const targetDocments = DocListCast(this.dataDoc[this._props.fieldKey]); |
