diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-06-09 17:26:05 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-06-09 17:26:05 -0400 |
| commit | 747581ac65f706710becad034c5f5abff76b8e51 (patch) | |
| tree | b171479ffbc1980c59d27728f6ba40416840d83a /src/client/views/collections/CollectionView.tsx | |
| parent | dd2af3952a5b9e65ef3394b1f5604f0eace1e870 (diff) | |
fixed lots of errors/warnings. added 'a' to be able embed documents on drop. added 'l' toggle to perist lasso/marquee mode.
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index c3fc3a40a..7e5f427ba 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -164,7 +164,7 @@ export class CollectionView extends Touchable<FieldViewProps & CollectionViewCus return true; } const first = doc instanceof Doc ? doc : doc[0]; - return !first?.cantLeaveCollection && this.removeDocument(doc) ? addDocument(doc) : false; + return !first?.cantLeaveCollection && addDocument !== returnFalse && this.removeDocument(doc) ? addDocument(doc) : false; } showIsTagged = () => { |
