浏览代码

Switches commits view title order

main
Eric Amodio 4 年前
父节点
当前提交
9ad4f4feb6
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      src/views/commitsView.ts

+ 2
- 3
src/views/commitsView.ts 查看文件

@ -161,10 +161,9 @@ export class CommitsViewNode extends ViewNode {
const branch = await child.repo.getBranch();
if (branch != null) {
this.view.title = `${branch.name} Commits`;
this.view.titleDescription = branch?.getTrackingStatus();
const status = branch.getTrackingStatus();
this.view.titleDescription = `${branch.name}${status ? ` ${GlyphChars.Dot} ${status}` : ''}`;
} else {
this.view.title = 'Commits';
this.view.titleDescription = undefined;
}

正在加载...
取消
保存