diff options
| author | bobzel <zzzman@gmail.com> | 2021-09-15 12:14:49 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-09-15 12:14:49 -0400 |
| commit | f71b10a04506cd45ec157a05dbe41217380d814f (patch) | |
| tree | 4f7dd0c5d22f3b6f8ff0ba75ddf16c1fc24a3068 /src/client/views/collections/CollectionView.tsx | |
| parent | a6c7dc12a4a6b2c51c0363876e892a1adb0b382a (diff) | |
fixed documentdecoration resizers. fixed grouping and added button to switch between freeform / group
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index bc02c44f0..5c9c8063b 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -166,7 +166,7 @@ export class CollectionView extends ViewBoxAnnotatableComponent<ViewBoxAnnotatab !Doc.UserDoc().noviceMode && subItems.push({ description: "Map", event: () => func(CollectionViewType.Map), icon: "globe-americas" }); subItems.push({ description: "Grid", event: () => func(CollectionViewType.Grid), icon: "th-list" }); - if (!Doc.IsSystem(this.rootDoc) && !this.rootDoc.annotationOn) { + if (!Doc.IsSystem(this.rootDoc) && !this.rootDoc.isGroup && !this.rootDoc.annotationOn) { const existingVm = ContextMenu.Instance.findByDescription(category); const catItems = existingVm && "subitems" in existingVm ? existingVm.subitems : []; catItems.push({ description: "Add a Perspective...", addDivider: true, noexpand: true, subitems: subItems, icon: "eye" }); |
