use input for tree refresh

This commit is contained in:
Sandeep Somavarapu
2016-07-07 13:00:04 +02:00
parent bf7e10ce03
commit 45df4010ad
@@ -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) {