Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Dec 7, 2024
1 parent 159a621 commit e5333b8
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions products/jbrowse-desktop/src/rootModel/rootModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -149,7 +149,7 @@ export default function rootModelFactory({
label: 'File',
menuItems: [
{
label: 'Open',
label: 'Open session...',
icon: OpenIcon,
onClick: async () => {
try {
Expand All @@ -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 {
Expand Down

0 comments on commit e5333b8

Please sign in to comment.