瀏覽代碼

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

Loading…
取消
儲存