Skip to content

Commit

Permalink
update new drive command
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisaCG committed Jan 13, 2025
1 parent 852a438 commit 283377c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/driveBrowserPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ namespace Private {
app.commands.addCommand(CommandIDs.createNewDrive, {
execute: async () => {
return showDialog({
title: 'Create New Drive',
title: 'New Drive',
body: new Private.CreateDriveHandler(drive.name),
focusNodeSelector: 'input',
buttons: [
Expand All @@ -349,14 +349,14 @@ namespace Private {
}
});
},
label: 'Create New Drive',
label: 'New Drive',
icon: driveBrowserIcon.bindprops({ stylesheet: 'menuItem' })
});

app.contextMenu.addItem({
command: CommandIDs.createNewDrive,
selector: '#drive-file-browser.jp-SidePanel .jp-DirListing-content',
rank: 10
rank: 100
});
}
}

0 comments on commit 283377c

Please sign in to comment.