Procházet zdrojové kódy

We should run this command. (#3345)

Ian Rose před 7 roky
rodič
revize
30f7471724
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
       }
     },