Skip to content

Commit 46fd908

Browse files
committed
fix: return nodes array from smartpicker
Signed-off-by: grnd-alt <github@belakkaf.net>
1 parent 1d9cf5c commit 46fd908

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/filepicker-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class FilePicker<IsMultiSelect extends boolean> {
7070
public async pickNodes(): Promise<Node[]> {
7171
const { default: FilePickerVue } = await import('./components/FilePicker/FilePicker.vue')
7272

73-
const [nodes] = await spawnDialog(FilePickerVue, {
73+
const nodes = await spawnDialog(FilePickerVue, {
7474
allowPickDirectory: this.directoriesAllowed,
7575
buttons: this.buttons,
7676
name: this.title,

0 commit comments

Comments
 (0)