Skip to content

Commit e8201a5

Browse files
committed
move drives manager command to toolbar
1 parent 4914bfe commit e8201a5

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

schema/drives-file-browser.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"rank": 40
2929
},
3030
{
31-
"name": "new-drive",
32-
"command": "drives:create-new-drive",
31+
"name": "drives-manager",
32+
"command": "drives:open-drives-dialog",
3333
"label": "",
3434
"rank": 5
3535
}

src/plugins/driveDialogPlugin.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,5 @@ export const openDriveDialogPlugin: JupyterFrontEndPlugin<void> = {
7474
caption: trans.__('Manage drives listed in filebrowser.'),
7575
label: trans.__('Manage listed drives')
7676
});
77-
78-
app.contextMenu.addItem({
79-
command: CommandIDs.openDrivesDialog,
80-
selector: '#drive-file-browser.jp-SidePanel',
81-
rank: 100
82-
});
8377
}
8478
};

0 commit comments

Comments
 (0)