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

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);
       }
     },