aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-06 18:11:57 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-06 18:11:57 -0400
commit68131598cebf0edbccef98d8bcfdba202161ec00 (patch)
treea03075e563bd1c81db037d9347504daa6a8fb6b7 /src/client/views/collections/CollectionView.tsx
parent5d9dad7900342283457b2315e29135d30d70fe5d (diff)
followLinkLocation can be set on LinkDoc. button box css fixes.
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
-rw-r--r--src/client/views/collections/CollectionView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx
index 183d01b74..c1234c500 100644
--- a/src/client/views/collections/CollectionView.tsx
+++ b/src/client/views/collections/CollectionView.tsx
@@ -162,6 +162,7 @@ export class CollectionView extends Touchable<FieldViewProps> {
// moving it into the target.
@action.bound
moveDocument(doc: Doc, targetCollection: Doc | undefined, addDocument: (doc: Doc) => boolean): boolean {
+ doc.context = targetCollection;
if (Doc.AreProtosEqual(this.props.Document, targetCollection)) {
return true;
}