File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 3
3
JupyterFrontEndPlugin
4
4
} from '@jupyterlab/application' ;
5
5
6
- import { ISettingRegistry } from '@jupyterlab/settingregistry' ;
7
-
8
6
import { ToolbarButton } from '@jupyterlab/apputils' ;
9
7
10
8
import { IFileBrowserFactory } from '@jupyterlab/filebrowser' ;
@@ -21,13 +19,11 @@ import { FileSystemDrive } from './drive';
21
19
const plugin : JupyterFrontEndPlugin < void > = {
22
20
id : 'jupyterlab-filesystem-access:plugin' ,
23
21
requires : [ IFileBrowserFactory , ITranslator ] ,
24
- optional : [ ISettingRegistry ] ,
25
22
autoStart : true ,
26
23
activate : (
27
24
app : JupyterFrontEnd ,
28
25
browser : IFileBrowserFactory ,
29
- translator : ITranslator ,
30
- settingRegistry : ISettingRegistry | null
26
+ translator : ITranslator
31
27
) => {
32
28
if ( ! window . showDirectoryPicker ) {
33
29
// bail if the browser does not support the File System API
@@ -37,10 +33,6 @@ const plugin: JupyterFrontEndPlugin<void> = {
37
33
return ;
38
34
}
39
35
40
- if ( settingRegistry ) {
41
- settingRegistry . load ( plugin . id ) ;
42
- }
43
-
44
36
const { serviceManager } = app ;
45
37
const { createFileBrowser } = browser ;
46
38
You can’t perform that action at this time.
0 commit comments