aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-06-10 16:05:45 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-06-10 16:05:45 -0400
commit4ec18458fd21bd7d7307a3bab2e787346fc3ed0d (patch)
tree233853464311ec801fbfa80510e9fff8bcc089ca /src/client/views/collections/CollectionView.tsx
parentc3bbedc622080c6087c862d6fb0c8b3438d51edc (diff)
parent1daca67ea2a574b16c02b185d66f5724651ba235 (diff)
Merge branch 'ink_menu'
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
-rw-r--r--src/client/views/collections/CollectionView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx
index 7e5f427ba..a25a864af 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 && addDocument !== returnFalse && this.removeDocument(doc) ? addDocument(doc) : false;
+ return !first?.stayInCollection && addDocument !== returnFalse && this.removeDocument(doc) ? addDocument(doc) : false;
}
showIsTagged = () => {