diff options
| author | bobzel <zzzman@gmail.com> | 2021-07-14 11:19:51 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-07-14 11:19:51 -0400 |
| commit | a9459901be6ed608fef28d4703072aa594748f84 (patch) | |
| tree | b75e0028cdb3d19ed88b1921d430c59ea21dd42e /src/client/views/collections/CollectionTreeView.tsx | |
| parent | 7995c8b9b810df4ed5ade1db71fcb0e2de3d3da2 (diff) | |
fixed dropping onto filesystem view to drop document into specific location/folder instead of hanging.
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 82c8a9114..3eece0086 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -154,7 +154,7 @@ export class CollectionTreeView extends CollectionSubView<Document, Partial<coll !existingOnClick && ContextMenu.Instance.addItem({ description: "OnClick...", noexpand: true, subitems: onClicks, icon: "mouse-pointer" }); } } - onTreeDrop = (e: React.DragEvent) => this.onExternalDrop(e, {}); + onTreeDrop = (e: React.DragEvent, addDocs?: (docs: Doc[]) => void) => this.onExternalDrop(e, {}, addDocs); @undoBatch makeTextCollection = (childDocs: Doc[]) => { |
