浏览代码

We should run this command. (#3345)

Ian Rose 7 年之前
父节点
当前提交
30f7471724
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/notebook-extension/src/index.ts

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

@@ -990,7 +990,7 @@ function addCommands(app: JupyterLab, services: ServiceManager, tracker: Noteboo
     execute: args => {
       const current = getCurrent(args);
 
-      if (!current) {
+      if (current) {
         return NotebookActions.redo(current.notebook);
       }
     },