diff options
author | bobzel <zzzman@gmail.com> | 2023-03-15 22:33:22 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-03-15 22:33:22 -0400 |
commit | 0e55893d0f7f2a0aa5098df73d0ece5a7f1a4ddf (patch) | |
tree | 2d41dc50c4b3bb4fa2b08172f21508c617cfa28b /src/client/views/nodes/DocumentView.tsx | |
parent | 20c0190e820f2bd343693368b7ef55a91f19c880 (diff) |
fixed up Clone() and export/import collection to work with links, presentations, and contexts better.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 02af30d0c..b7a760c1e 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -1002,6 +1002,7 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps } moreItems.push({ description: 'Copy ID', event: () => Utils.CopyText(Doc.globalServerPath(this.props.Document)), icon: 'fingerprint' }); } + moreItems.push({ description: 'Export collection', icon: 'download', event: async () => Doc.Zip(this.props.Document) }); } if (this.props.removeDocument && !Doc.IsSystem(this.rootDoc) && Doc.ActiveDashboard !== this.props.Document) { |