aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionTreeView.tsx
diff options
context:
space:
mode:
authormadelinegr <mgriswold99@gmail.com>2019-02-26 17:04:17 -0500
committermadelinegr <mgriswold99@gmail.com>2019-02-26 17:04:17 -0500
commit36e5de8777ef8bddb66b758e08d1fc0913c59e00 (patch)
tree718ef63d1fe33d76f0d66245f5e8aed83cb33e64 /src/client/views/collections/CollectionTreeView.tsx
parent675d619bcac9b73893406ac029a4fd6c1cc290c6 (diff)
parentbd54526065428de2e931d7254776352199f6e55a (diff)
mer con
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
-rw-r--r--src/client/views/collections/CollectionTreeView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx
index b48c33f99..c0d6bd4f7 100644
--- a/src/client/views/collections/CollectionTreeView.tsx
+++ b/src/client/views/collections/CollectionTreeView.tsx
@@ -34,7 +34,7 @@ class TreeView extends React.Component<TreeViewProps> {
var children = childDocument.GetT<ListField<Document>>(KeyStore.Data, ListField);
let title = childDocument.GetT<TextField>(KeyStore.Title, TextField);
- let onItemDown = setupDrag(reference, childDocument);
+ let onItemDown = setupDrag(reference, () => childDocument);
if (title && title != FieldWaiting) {
let subView = !children || this.collapsed || children === FieldWaiting ? (null) :