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/CollectionStackingView.tsx | |
parent | 5cd64622f14ede408d3baca4a10d155b60392e46 (diff) |
got rid of CollectionView prop. fixed DocFocusOrOpen to toggle targets and zoom correctly.
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index 67f5dc9f4..bdad325d5 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -230,7 +230,7 @@ export class CollectionStackingView extends CollectionSubView<Partial<collection isAnyChildContentActive = () => this.props.isAnyChildContentActive(); @action - moveDocument = (doc: Doc, targetCollection: Doc | undefined, addDocument: (document: Doc) => boolean): boolean => { + moveDocument = (doc: Doc | Doc[], targetCollection: Doc | undefined, addDocument: (doc: Doc | Doc[]) => boolean): boolean => { return this.props.removeDocument?.(doc) && addDocument?.(doc) ? true : false; }; createRef = (ele: HTMLDivElement | null) => { |