Afshin Darian преди 8 години
родител
ревизия
220c3f7a34
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      packages/editorwidget-extension/src/index.ts
  2. 1 1
      packages/notebook-extension/src/index.ts

+ 1 - 1
packages/editorwidget-extension/src/index.ts

@@ -94,7 +94,7 @@ function activate(app: JupyterLab, registry: IDocumentRegistry, restorer: ILayou
   if (launcher) {
     launcher.add({
       name: 'Text Editor',
-      command: 'file-operations:new-text-file'
+      command: 'filebrowser:new-text-file'
     });
   }
 

+ 1 - 1
packages/notebook-extension/src/index.ts

@@ -382,7 +382,7 @@ function activateNotebookHandler(app: JupyterLab, registry: IDocumentRegistry, s
   if (launcher) {
     launcher.add({
       name: 'Notebook',
-      command: 'file-operations:new-notebook'
+      command: 'filebrowser:new-notebook'
     });
   }