Changes stash icons

Moves stash number from label to description
This commit is contained in:
Eric Amodio
2017-05-14 03:27:08 -04:00
parent 83fff1590d
commit 3e403a2d5c
3 changed files with 4 additions and 4 deletions

View File

@@ -170,9 +170,9 @@ export class CommitQuickPickItem implements QuickPickItem {
}
if (commit instanceof GitStashCommit) {
this.label = `${commit.stashName}\u00a0\u2022\u00a0${message}`;
this.label = message;
this.description = '';
this.detail = `\u00a0 ${moment(commit.date).fromNow()}\u00a0\u00a0\u2022\u00a0 ${commit.getDiffStatus()}`;
this.detail = `\u00a0 ${commit.stashName}\u00a0\u00a0\u2022\u00a0 ${moment(commit.date).fromNow()}\u00a0\u00a0\u2022\u00a0 ${commit.getDiffStatus()}`;
}
else {
this.label = message;