diff options
| author | Sophie Zhang <sophie_zhang@brown.edu> | 2023-07-18 13:33:14 -0400 |
|---|---|---|
| committer | Sophie Zhang <sophie_zhang@brown.edu> | 2023-07-18 13:33:14 -0400 |
| commit | faf2a1db89918153c9a6bc06e73bb02f7769123d (patch) | |
| tree | 3c301878c6941115dbc77c30fcc68c8d29cc0e45 /src/client/views/topbar | |
| parent | e332c268c013efbc7409bf0072b66e8bf646dfef (diff) | |
| parent | 5da0b8c1e12abe13d60361af4f6bbb8454b6814d (diff) | |
Merge branch 'master' into sophie-report-manager
Diffstat (limited to 'src/client/views/topbar')
| -rw-r--r-- | src/client/views/topbar/TopBar.tsx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/client/views/topbar/TopBar.tsx b/src/client/views/topbar/TopBar.tsx index db251c519..b82f20dbd 100644 --- a/src/client/views/topbar/TopBar.tsx +++ b/src/client/views/topbar/TopBar.tsx @@ -106,15 +106,6 @@ export class TopBar extends React.Component { onClick={(e: React.MouseEvent) => { const dashView = Doc.ActiveDashboard && DocumentManager.Instance.getDocumentView(Doc.ActiveDashboard); 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 DashboardView.snapshotDashboard(); - batch.end(); - }, - icon: 'edit', - }); dashView?.showContextMenu(e.clientX + 20, e.clientY + 30); }} /> |
