diff options
author | bobzel <zzzman@gmail.com> | 2023-08-31 11:50:14 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-31 11:50:14 -0400 |
commit | 7c218639c75e22e1270d4198fb940b439175deee (patch) | |
tree | e09fd26ce9dd82d728b6c700ceb669cf22cc72ad /src/client/views/nodes/DocumentView.tsx | |
parent | 0c4f57875c8aaf599ff111a8b8122895d2addab3 (diff) |
reworked recording workspace UI and switched to recording window, not webcam
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 8a0706c30..998024cea 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -798,7 +798,7 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps !more && moreItems.length && cm.addItem({ description: 'More...', subitems: moreItems, icon: 'compass' }); } const constantItems: ContextMenuProps[] = []; - if (!Doc.IsSystem(this.rootDoc)) { + if (!Doc.IsSystem(this.rootDoc) && this.rootDoc._type_collection !== CollectionViewType.Docking) { constantItems.push({ description: 'Zip Export', icon: 'download', event: async () => Doc.Zip(this.props.Document) }); (this.rootDoc._type_collection !== CollectionViewType.Docking || !Doc.noviceMode) && constantItems.push({ description: 'Share', event: () => SharingManager.Instance.open(this.props.DocumentView()), icon: 'users' }); if (this.props.removeDocument && Doc.ActiveDashboard !== this.props.Document) { |