Skip to content

Commit 622a4b0

Browse files
authored
Merge pull request #1879 from nextcloud-libraries/fix/return-nodes-from-smartpicker
fix: return nodes array from smartpicker
2 parents 1d9cf5c + 46fd908 commit 622a4b0

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)