Browse Source

Fixes issue with ShowRepositoriesView command

main
Eric Amodio 4 years ago
parent
commit
a28f99ed92
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/commands/showView.ts

+ 1
- 0
CHANGELOG.md View File

@ -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

+ 1
- 1
src/commands/showView.ts View File

@ -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();

Loading…
Cancel
Save