We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67534ca commit 81bc3f9Copy full SHA for 81bc3f9
src/vs/workbench/contrib/scm/browser/scmRepositoriesViewPane.ts
@@ -124,7 +124,7 @@ export class SCMRepositoriesViewPane extends ViewPane {
124
125
this.createTree(treeContainer);
126
127
- this.onDidChangeBodyVisibility(visible => {
+ this.onDidChangeBodyVisibility(async visible => {
128
if (!visible) {
129
this.visibilityDisposables.clear();
130
return;
@@ -134,7 +134,7 @@ export class SCMRepositoriesViewPane extends ViewPane {
134
this._register(this.treeViewModel);
135
136
// Initial rendering
137
- this.tree.setInput(this.treeViewModel);
+ await this.tree.setInput(this.treeViewModel);
138
139
// scm.repositories.visible setting
140
this.visibilityDisposables.add(autorun(reader => {
0 commit comments