aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSubView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-02-08 02:19:56 -0500
committerBob Zeleznik <zzzman@gmail.com>2020-02-08 02:19:56 -0500
commitd3abbcfc975247839b587b37cabd4f07db73f28c (patch)
tree1c92ac8bc1c7c751335c04760631bcee586392de /src/client/views/collections/CollectionSubView.tsx
parent97f9b36639fbe13118cf1bad101cf547a83a0147 (diff)
cleaned up links on images. fixed axis sorting on pivot views. fixed dragging link button
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
-rw-r--r--src/client/views/collections/CollectionSubView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx
index e0e99d635..62b9e8380 100644
--- a/src/client/views/collections/CollectionSubView.tsx
+++ b/src/client/views/collections/CollectionSubView.tsx
@@ -320,7 +320,7 @@ export function CollectionSubView<T>(schemaCtor: (doc: Doc) => T) {
nativeWidth && (proto["data-nativeWidth"] = nativeWidth);
nativeHeight && (proto["data-nativeHeight"] = nativeHeight);
contentSize && (proto.contentSize = contentSize);
- this.props.addDocument(doc);
+ this.props?.addDocument(doc);
}
});
}));