Sfoglia il codice sorgente

reverting enabled check for save button

Stephanie Stattel 6 anni fa
parent
commit
a825202e22
1 ha cambiato i file con 1 aggiunte e 7 eliminazioni
  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'
     });
   }