From f1576c7798a8cc14d5c93b784df1a67bb764d08c Mon Sep 17 00:00:00 2001 From: Marco Rodolfi Date: Thu, 22 Jun 2023 11:58:00 +0200 Subject: Chore: Better logical order for file picker v2 function call --- frontend/src/plugin-loader.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'frontend/src/plugin-loader.tsx') diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index 8190fbc4..e8671faa 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -368,8 +368,8 @@ class PluginLoader extends Logger { return this.openFilePickerV2( startPath, true, - regex, true, + regex, undefined, undefined, undefined, @@ -380,8 +380,8 @@ class PluginLoader extends Logger { return this.openFilePickerV2( startPath, false, - regex, true, + regex, undefined, undefined, undefined, @@ -394,8 +394,8 @@ class PluginLoader extends Logger { openFilePickerV2( startPath: string, includeFiles?: boolean, - filter?: RegExp | ((file: File) => boolean), includeFolders?: boolean, + filter?: RegExp | ((file: File) => boolean), extensions?: string[], showHiddenFiles?: boolean, allowAllFiles?: boolean, -- cgit v1.2.3