summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/src/plugin-loader.tsx24
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);
}
}