Skip to content

Commit ab724b2

Browse files
authored
ignoreSubmodules is honored differently for Pull Requests and Issues view (#7868)
Fixes #7741
1 parent 17bca28 commit ab724b2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/view/prsTreeDataProvider.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,12 @@ export class PullRequestsTreeDataProvider extends Disposable implements vscode.T
268268
}
269269

270270
this._initialized = true;
271-
this._register(
272-
this._reposManager.onDidChangeState(() => {
273-
this.refreshAll();
274-
}),
275-
);
271+
this._register(this._reposManager.onDidChangeState(() => {
272+
this.refreshAll();
273+
}));
274+
this._register(this._reposManager.onDidLoadAnyRepositories(() => {
275+
this.refreshAll();
276+
}));
276277

277278
for (const model of reviewModels) {
278279
this._register(model.onDidChangeLocalFileChanges(_ => { this.refreshAllQueryResults(); }));

0 commit comments

Comments
 (0)