瀏覽代碼

Fixes switch branch action in graph toolbar

main
Eric Amodio 2 年之前
父節點
當前提交
1c475c50d1
共有 2 個檔案被更改,包括 2 行新增1 行删除
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/plus/webviews/graph/graphWebview.ts

+ 1
- 0
CHANGELOG.md 查看文件

@ -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 查看文件

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

Loading…
取消
儲存