From e5333b875ec8d7dcbb01680293c5f9572e0d9aea Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 6 Dec 2024 23:07:00 -0500 Subject: [PATCH] Updates --- .../src/rootModel/rootModel.ts | 20 +++---------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/products/jbrowse-desktop/src/rootModel/rootModel.ts b/products/jbrowse-desktop/src/rootModel/rootModel.ts index 545af1c064..0b60162e54 100644 --- a/products/jbrowse-desktop/src/rootModel/rootModel.ts +++ b/products/jbrowse-desktop/src/rootModel/rootModel.ts @@ -7,7 +7,7 @@ import { } from '@jbrowse/app-core' import assemblyConfigSchemaF from '@jbrowse/core/assemblyManager/assemblyConfigSchema' import RpcManager from '@jbrowse/core/rpc/RpcManager' -import { Cable, DNA, Save, SaveAs } from '@jbrowse/core/ui/Icons' +import { Cable, DNA, SaveAs } from '@jbrowse/core/ui/Icons' import { AssemblyManager } from '@jbrowse/plugin-data-management' import { BaseRootModelFactory, @@ -149,7 +149,7 @@ export default function rootModelFactory({ label: 'File', menuItems: [ { - label: 'Open', + label: 'Open session...', icon: OpenIcon, onClick: async () => { try { @@ -164,21 +164,7 @@ export default function rootModelFactory({ }, }, { - label: 'Save', - icon: Save, - onClick: async () => { - if (self.session) { - try { - await self.saveSession(getSaveSession(self)) - } catch (e) { - console.error(e) - self.session?.notifyError(`${e}`, e) - } - } - }, - }, - { - label: 'Save as...', + label: 'Save session as...', icon: SaveAs, onClick: async () => { try {