浏览代码

reverting enabled check for save button

Stephanie Stattel 6 年之前
父节点
当前提交
a825202e22
共有 1 个文件被更改,包括 1 次插入7 次删除
  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'
     });
   }