mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
In directory picker, when a node is loaded, clear the filter (#974)
This commit is contained in:
parent
ff131060c3
commit
a050f2909c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user