diff options
| author | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-10-07 22:49:05 -0400 |
|---|---|---|
| committer | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-10-07 22:49:05 -0400 |
| commit | b67de10bc8b2eab16de7bb5dd4a7a8646e2a8d5f (patch) | |
| tree | c405d8af41af09d146cfac4871c3a11c25410e83 /src/client/views/collections/CollectionSubView.tsx | |
| parent | 66950dca6e7add542aba3c6caa8115ce7f1ecd73 (diff) | |
| parent | efaa2991ac2670c73a81ab07f61c1626a4300507 (diff) | |
Merge branch 'alyssa-starter' of https://github.com/brown-dash/Dash-Web into alyssa-starter
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 5d32482c3..581201a20 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -296,7 +296,7 @@ export function CollectionSubView<X>() { return false; } - protected async onExternalDrop(e: React.DragEvent, options: DocumentOptions, completed?: (docs: Doc[]) => void) { + protected async onExternalDrop(e: React.DragEvent, options: DocumentOptions = {}, completed?: (docs: Doc[]) => void) { if (e.ctrlKey) { e.stopPropagation(); // bcz: this is a hack to stop propagation when dropping an image on a text document with shift+ctrl return; |
