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 1b16c37
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions products/jbrowse-desktop/src/rootModel/rootModel.ts
Original file line number Diff line number Diff line change
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 1b16c37

Please sign in to comment.