diff options
author | bobzel <zzzman@gmail.com> | 2023-04-14 11:12:49 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-04-14 11:12:49 -0400 |
commit | 650cc00d18c97f89aef77f50703aa9b525dd0368 (patch) | |
tree | 1c0efe901e15bb83fdba045f8f179676b2185dbe /src/client/views/collections/CollectionNoteTakingView.tsx | |
parent | 5cd64622f14ede408d3baca4a10d155b60392e46 (diff) |
got rid of CollectionView prop. fixed DocFocusOrOpen to toggle targets and zoom correctly.
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionNoteTakingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingView.tsx b/src/client/views/collections/CollectionNoteTakingView.tsx index 80e81bc1c..99d4d0bee 100644 --- a/src/client/views/collections/CollectionNoteTakingView.tsx +++ b/src/client/views/collections/CollectionNoteTakingView.tsx @@ -162,7 +162,7 @@ export class CollectionNoteTakingView extends CollectionSubView() { } @action - moveDocument = (doc: Doc, targetCollection: Doc | undefined, addDocument: (document: Doc) => boolean): boolean => { + moveDocument = (doc: Doc | Doc[], targetCollection: Doc | undefined, addDocument: (doc: Doc | Doc[], annotationKey?: string) => boolean, annotationKey?: string): boolean => { return this.props.removeDocument?.(doc) && addDocument?.(doc) ? true : false; }; |