[ACA-3603] Destination picker is not opening on My Files when clicking on Attach file widget (#5865)

* [ACA-3603] Destination picker is not opening on My Files when clicking on Attach file widget

* *

* * Fixed failing unit tests

* * Used openFileBrowseDialogByFolderId
This commit is contained in:
siva kumar
2020-08-13 17:15:01 +05:30
committed by GitHub
parent 418202cb24
commit eb5d0da079
8 changed files with 41 additions and 15 deletions

View File

@@ -102,6 +102,15 @@ export class ContentNodeDialogService {
}));
}
/**
* Opens a file browser at a default myFile location.
* shows files and folders in the dialog search result.
* @returns Information about the selected file(s)
*/
openFileBrowseDialogByDefaultLocation(): Observable<Node[]> {
return this.openFileBrowseDialogByFolderId('-my-');
}
/**
* Opens a folder browser at a chosen site location.
* @returns Information about the selected folder(s)