瀏覽代碼

Fix launcher command usage

Steven Silvester 7 年之前
父節點
當前提交
832b279fbd
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      packages/filebrowser-extension/src/index.ts
  2. 1 1
      packages/launcher/src/index.ts

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

@@ -146,7 +146,7 @@ function activateFactory(app: JupyterLab, docManager: IDocumentManager, state: I
       let launcher = new ToolbarButton({
         className: 'jp-AddIcon',
         onClick: () => {
-          return commands.execute('launcher-jupyterlab:create', {
+          return commands.execute('launcher:create', {
             cwd: widget.model.path
           });
         }

+ 1 - 1
packages/launcher/src/index.ts

@@ -37,7 +37,7 @@ import '../style/index.css';
 export
 namespace CommandIDs {
   export
-  const show: string = 'launcher-jupyterlab:show';
+  const show: string = 'launcher:show';
 };