diff options
| author | bob <bcz@cs.brown.edu> | 2020-02-07 13:52:13 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2020-02-07 13:52:13 -0500 |
| commit | d845002f60115fdb988b6fc02420fdb25b19c522 (patch) | |
| tree | 5973a73b828fbe3434ead98670f324050d75de11 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | bb2061d00105af4401d77cc5712d83c1c29cf4e7 (diff) | |
fixed stacking layouts. fixed templates to copy cached expanded templates when docs are aliased
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index 2478aaecd..cb413b3e3 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -469,7 +469,7 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp e.preventDefault(); e.stopPropagation(); const dragData = new DragManager.DocumentDragData([doc]); - dragData.dropAction = doc.dropAction; + dragData.dropAction = doc.dropAction === "alias" ? "alias" : doc.dropAction === "copy" ? "copy" : undefined; DragManager.StartDocumentDrag([dragSpan], dragData, e.clientX, e.clientY); }}> <FontAwesomeIcon icon="file" size="lg" /> |
