diff options
| author | bobzel <zzzman@gmail.com> | 2023-07-18 12:57:46 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-07-18 12:57:46 -0400 |
| commit | cc36dc14d32ee15727ed6153b019e80586b8285e (patch) | |
| tree | b90c2277264db1b6ab753a5c9489f0c39ee08ff1 /src/client/views/topbar | |
| parent | 16a1b7de3ec26187b3a426eb037a5e4f4b9fcc55 (diff) | |
got rid of snapshot dashboard topbar menu item. fixed server stats background. got rid of import document from doc view context menu.
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 130e47a41..79f41fe9d 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); }} /> |
