Sfoglia il codice sorgente

Fixes switch branch action in graph toolbar

main
Eric Amodio 1 anno fa
parent
commit
1c475c50d1
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/plus/webviews/graph/graphWebview.ts

+ 1
- 0
CHANGELOG.md Vedi File

@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Fixes [#2377](https://github.com/gitkraken/vscode-gitlens/issues/2377) - Missing Azure Devops Icon
- Fixes [#2380](https://github.com/gitkraken/vscode-gitlens/issues/2380) - Autolink fails with curly braces
- Fixes [#2381](https://github.com/gitkraken/vscode-gitlens/issues/2381) - can't use scrollbar in 'Commit Graph' view
- Fixes an issue where _Switch to Another Branch..._ doesn't work in the Graph editor toolbar
## [13.1.1] - 2022-11-21

+ 1
- 1
src/plus/webviews/graph/graphWebview.ts Vedi File

@ -1773,7 +1773,7 @@ export class GraphWebview extends WebviewBase {
@debug()
private switchToAnother(item?: GraphItemContext | unknown) {
const ref = this.getGraphItemRef(item);
if (ref == null) return Promise.resolve();
if (ref == null) return GitActions.switchTo(this.repository?.path);
return GitActions.switchTo(ref.repoPath);
}

Caricamento…
Annulla
Salva