Browse Source

fix: 右键菜单 download 显隐

zhouxinmin 1 năm trước cách đây
mục cha
commit
9762cbe60b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      packages/filebrowser-extension/src/index.ts

+ 2 - 1
packages/filebrowser-extension/src/index.ts

@@ -1359,7 +1359,8 @@ const plugins: JupyterFrontEndPlugin<any>[] = [
   // openBrowserTabPlugin,
   // openUrlPlugin
 ];
-const flag = localStorage.getItem('Al.jupyter_download');
+const flag = localStorage.getItem('AI.jupyter_download');
+
 if (flag == 'true') {
   plugins.push(downloadPlugin);
 }