提交 d0843a24 编写于 作者: R Rob Lourens

Fix #63146

上级 ce8cd13d
......@@ -377,10 +377,9 @@ export class SearchView extends Viewlet implements IViewlet, IPanel {
}
private refreshAndUpdateCount(event?: IChangeEvent): Thenable<void> {
return this.refreshTree(event).then(() => {
this.searchWidget.setReplaceAllActionState(!this.viewModel.searchResult.isEmpty());
this.updateSearchResultCount(this.viewModel.searchResult.query.userDisabledExcludesAndIgnoreFiles);
});
this.searchWidget.setReplaceAllActionState(!this.viewModel.searchResult.isEmpty());
this.updateSearchResultCount(this.viewModel.searchResult.query.userDisabledExcludesAndIgnoreFiles);
return this.refreshTree(event);
}
private refreshTree(event?: IChangeEvent): Thenable<any> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册