Преглед на файлове

Update file browser menu plugin ID.

Afshin Darian преди 7 години
родител
ревизия
9d03ae0416
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      packages/filebrowser-extension/src/index.ts

+ 2 - 2
packages/filebrowser-extension/src/index.ts

@@ -118,7 +118,7 @@ const factory: JupyterLabPlugin<IFileBrowserFactory> = {
  */
 const menu: JupyterLabPlugin<void> = {
   activate: activateMenu,
-  id: 'jupyter.extensions.filebrowsermenu',
+  id: '@jupyterlab/filebrowser-extension:menu',
   requires: [IMainMenu],
   autoStart: true
 };
@@ -429,7 +429,7 @@ function createMenu(app: JupyterLab): Menu {
  * This function generates temporary commands with an incremented name. These
  * commands are disposed when the menu itself is disposed.
  */
-function createContextMenu(path: string, commands: CommandRegistry, registry: DocumentRegistry):  Menu {
+function createContextMenu(path: string, commands: CommandRegistry, registry: DocumentRegistry): Menu {
   const menu = new Menu({ commands });
 
   menu.addItem({ command: CommandIDs.open });