Procházet zdrojové kódy

reverting enabled check for save button

Stephanie Stattel před 6 roky
rodič
revize
a825202e22
1 změnil soubory, kde provedl 1 přidání a 7 odebrání
  1. 1 7
      packages/notebook/src/default-toolbar.ts

+ 1 - 7
packages/notebook/src/default-toolbar.ts

@@ -87,13 +87,7 @@ export namespace ToolbarItems {
           }
         });
       },
-      tooltip: 'Save the notebook contents and create checkpoint',
-      enabled: !!(
-        panel &&
-        panel.context &&
-        panel.context.contentsModel &&
-        panel.context.contentsModel.writable
-      )
+      tooltip: 'Save the notebook contents and create checkpoint'
     });
   }