diff options
Diffstat (limited to 'frontend/src/plugin-loader.tsx')
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index 98667c65..e2ffc44a 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -365,29 +365,9 @@ class PluginLoader extends Logger { regex?: RegExp, ): Promise<{ path: string; realpath: string }> { if (selectFiles) { - return this.openFilePickerV2( - FileSelectionType.FILE, - startPath, - true, - true, - regex, - undefined, - undefined, - undefined, - undefined, - ); + return this.openFilePickerV2(FileSelectionType.FILE, startPath, true, true, regex); } else { - return this.openFilePickerV2( - FileSelectionType.FOLDER, - startPath, - false, - true, - regex, - undefined, - undefined, - undefined, - undefined, - ); + return this.openFilePickerV2(FileSelectionType.FOLDER, startPath, false, true, regex); } } |
