mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-16 05:11:14 +01:00
use input for tree refresh
This commit is contained in:
@@ -322,7 +322,7 @@ export class SearchViewlet extends Viewlet {
|
||||
|
||||
private refreshTree(event?: IChangeEvent): TPromise<any> {
|
||||
if (!event) {
|
||||
return this.tree.refresh();
|
||||
return this.tree.refresh(this.viewModel.searchResult);
|
||||
}
|
||||
|
||||
if (event.added || event.removed) {
|
||||
|
||||
Reference in New Issue
Block a user