diff options
| author | bobzel <zzzman@gmail.com> | 2021-08-05 17:22:42 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-08-05 17:22:42 -0400 |
| commit | 5550d58f16a0df090cde5a3605f6307b17e70758 (patch) | |
| tree | 3a99ed57b34c27eb352b7eb4fb24def23fa8d453 /src/client/views/collections | |
| parent | 6d9c65bf95091b0d5ee7e3097995fc9e2ead4415 (diff) | |
fixed so that links to sidebar annos show the sidebar in a LinkPreview
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index 2718cbbbf..2ae06d2f4 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -245,10 +245,7 @@ export class CollectionView extends ViewBoxAnnotatableComponent<ViewBoxAnnotatab TraceMobx(); const props: SubCollectionViewProps = { ...this.props, - SetSubView: action((subView: any) => { - console.log("Setting sub", subView); - return this._subView = subView - }), + SetSubView: action((subView: any) => this._subView = subView), addDocument: this.addDocument, moveDocument: this.moveDocument, removeDocument: this.removeDocument, |
