diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-26 09:51:39 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-26 09:51:39 -0400 |
| commit | 809a8f766640fe297a4019be52bb8fd4da81e4fe (patch) | |
| tree | 8196e31d24ddd0d573e518362b27187e3f567f30 /src/client/views/topbar | |
| parent | 301f13ebcbc47bd04b56210620aafaaad5f2998e (diff) | |
| parent | dccf5909f4a4bec35559b23a2f355ab4c7a94086 (diff) | |
Merge branch 'master' into mainview-jenny
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 13c8e907a..bc9ed9293 100644 --- a/src/client/views/topbar/TopBar.tsx +++ b/src/client/views/topbar/TopBar.tsx @@ -60,7 +60,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); |
