diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-21 15:11:19 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-21 15:11:19 -0400 |
| commit | d446a2c555019133f549978eb3a8453ac40c28d9 (patch) | |
| tree | 044013c32d6175d39307934e02eebf28fec828b4 /src/client/views/topbar | |
| parent | c0bdb958920f1f0f68a35c70d5b4ad1bf5ea5824 (diff) | |
| parent | 5c582ee52f3af9515d3397fa7661d068fe1babe8 (diff) | |
Merge branch 'master' into temporalmedia-mehek
Diffstat (limited to 'src/client/views/topbar')
| -rw-r--r-- | src/client/views/topbar/TopBar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/topbar/TopBar.tsx b/src/client/views/topbar/TopBar.tsx index 1de0c0b10..6a4deca38 100644 --- a/src/client/views/topbar/TopBar.tsx +++ b/src/client/views/topbar/TopBar.tsx @@ -52,7 +52,7 @@ export class TopBar extends React.Component { ContextMenu.Instance.addItem({ description: "Open Dashboard View", event: this.navigateToHome, icon: "edit" }); ContextMenu.Instance.addItem({ description: "Snapshot Dashboard", event: async () => { const batch = UndoManager.StartBatch("snapshot"); - await CurrentUserUtils.snapshotDashboard(Doc.UserDoc()); + await CurrentUserUtils.snapshotDashboard(); batch.end(); }, icon: "edit" }); dashView?.showContextMenu(e.clientX+20, e.clientY+30); |
