diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-20 22:18:42 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-20 22:18:42 -0400 |
| commit | 3e22a44461095d95062e3b809b525a0a87342ac3 (patch) | |
| tree | 7cb2302760b4def55ee2ff85f6edaabe81ab8dc0 /src/client/views/collections/CollectionView.tsx | |
| parent | bf47265596c0b1c54a30779164238a8849f7f496 (diff) | |
more cleanup to get rid of unecessary references to Doc.UserDoc().
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 4b5c5e3fb..63616263e 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -205,7 +205,7 @@ export class CollectionView extends ViewBoxAnnotatableComponent<ViewBoxAnnotatab }); } if (this.Document._viewType === CollectionViewType.Docking) { - optionItems.push({ description: "Create Dashboard", event: () => CurrentUserUtils.createNewDashboard(Doc.UserDoc()), icon: "project-diagram" }); + optionItems.push({ description: "Create Dashboard", event: () => CurrentUserUtils.createNewDashboard(), icon: "project-diagram" }); } !options && cm.addItem({ description: "Options...", subitems: optionItems, icon: "hand-point-right" }); |
