diff --git a/lib/filepicker-builder.ts b/lib/filepicker-builder.ts index 404c8a2de..bf7312e0b 100644 --- a/lib/filepicker-builder.ts +++ b/lib/filepicker-builder.ts @@ -70,7 +70,7 @@ export class FilePicker { public async pickNodes(): Promise { const { default: FilePickerVue } = await import('./components/FilePicker/FilePicker.vue') - const [nodes] = await spawnDialog(FilePickerVue, { + const nodes = await spawnDialog(FilePickerVue, { allowPickDirectory: this.directoriesAllowed, buttons: this.buttons, name: this.title,