Sfoglia il codice sorgente

Switches commits view title order

main
Eric Amodio 4 anni fa
parent
commit
9ad4f4feb6
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. +2
    -3
      src/views/commitsView.ts

+ 2
- 3
src/views/commitsView.ts Vedi File

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

Caricamento…
Annulla
Salva