In directory picker, when a node is loaded, clear the filter (#974)

This commit is contained in:
Joseph Milazzo 2022-01-20 17:19:51 -08:00 committed by GitHub
parent ff131060c3
commit a050f2909c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,7 @@ export class DirectoryPickerComponent implements OnInit {
loadChildren(path: string) { loadChildren(path: string) {
this.libraryService.listDirectories(path).subscribe(folders => { this.libraryService.listDirectories(path).subscribe(folders => {
this.filterQuery = '';
this.folders = folders; this.folders = folders;
}, err => { }, err => {
// If there was an error, pop off last directory added to stack // If there was an error, pop off last directory added to stack