diff --git a/CHANGELOG.md b/CHANGELOG.md index 5258ef5..3b6fcc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Fixes [#1212](https://github.com/eamodio/vscode-gitlens/issues/1212) - Stashes list doesn't refresh on deletion - Fixes [#1191](https://github.com/eamodio/vscode-gitlens/issues/1191) - "Gitlens › Views › Repositories: Auto Refresh" not working - Fixes [#1202](https://github.com/eamodio/vscode-gitlens/issues/1202) - "Copy Remote File Url" url-encodes the URL +- Fixes an issue where _GitLens: Show Repositories View_ command wouldn't work unless the view was enabled first ## [11.0.6] - 2020-11.28 diff --git a/src/commands/showView.ts b/src/commands/showView.ts index 823e9f0..9b8c19e 100644 --- a/src/commands/showView.ts +++ b/src/commands/showView.ts @@ -45,7 +45,7 @@ export class ShowViewCommand extends Command { case Commands.ShowRemotesView: return Container.remotesView.show(); case Commands.ShowRepositoriesView: - if (!Container.config.views.lineHistory.enabled) { + if (!Container.config.views.repositories.enabled) { await configuration.updateEffective('views', 'repositories', 'enabled', true); } return Container.repositoriesView.show();