mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-31 17:20:28 -04:00
Merge from vscode f5044f0910e4aa7e7e06cb509781f3d56e729959 (#4759)
This commit is contained in:
@@ -1181,6 +1181,10 @@ export class SCMViewlet extends ViewContainerViewlet implements IViewModel {
|
||||
this.viewsModel.setVisible(MainPanel.ID, false);
|
||||
}
|
||||
|
||||
if (repositoryCount === 1) {
|
||||
this.viewsModel.setVisible(this.viewDescriptors[0].id, true);
|
||||
}
|
||||
|
||||
toggleClass(this.el, 'empty', repositoryCount === 0);
|
||||
this.repositoryCount = repositoryCount;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user