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 34e4d5e commit e5774a7Copy full SHA for e5774a7
src/views/nodes/repositoryNode.ts
@@ -304,7 +304,9 @@ export class RepositoryNode extends SubscribeableViewNode<ViewsWithRepositories>
304
305
const item = new TreeItem(
306
label,
307
- workspace != null ? TreeItemCollapsibleState.Collapsed : TreeItemCollapsibleState.Expanded,
+ workspace != null || this.view.type === 'workspaces'
308
+ ? TreeItemCollapsibleState.Collapsed
309
+ : TreeItemCollapsibleState.Expanded,
310
);
311
item.id = this.id;
312
item.contextValue = contextValue;
0 commit comments