diff options
| author | bob <bcz@cs.brown.edu> | 2019-04-09 13:40:40 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-04-09 13:40:40 -0400 |
| commit | 64c8a689c142c82c4dd3ed074e5e6981ea8ea17c (patch) | |
| tree | 5edcb9d04ad2983bf63e91260c08ca9607d5a17a /src/client/views/collections/CollectionSubView.tsx | |
| parent | 37763de22835e3a4a7ad995eb089d23054109c3d (diff) | |
added ability to load a new database for Northstar
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
| -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 f058aaccc..5cdea0568 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -73,7 +73,7 @@ export class CollectionSubView extends React.Component<SubCollectionViewProps> { draggedDocument.GetTAsync(key, NumberField, (f: Opt<NumberField>) => f ? de.data.droppedDocuments[i].SetNumber(key, f.Data) : null))); } let added = false; - if (de.data.aliasOnDrop) { + if (de.data.aliasOnDrop || de.data.copyOnDrop) { added = de.data.droppedDocuments.reduce((added: boolean, d) => added || this.props.addDocument(d), false); } else if (de.data.moveDocument) { const move = de.data.moveDocument; |
