We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca0056a commit cebc1f3Copy full SHA for cebc1f3
1 file changed
src/notifications/notificationsManager.ts
@@ -84,7 +84,9 @@ export class NotificationsManager extends Disposable implements vscode.TreeDataP
84
if (notification.subject.type === NotificationSubjectType.PullRequest && model instanceof PullRequestModel) {
85
item.iconPath = model.isOpen
86
? new vscode.ThemeIcon('git-pull-request', new vscode.ThemeColor('pullRequests.open'))
87
- : new vscode.ThemeIcon('git-pull-request', new vscode.ThemeColor('pullRequests.merged'));
+ : (model.isMerged
88
+ ? new vscode.ThemeIcon('git-pull-request', new vscode.ThemeColor('pullRequests.merged'))
89
+ : new vscode.ThemeIcon('git-pull-request-closed', new vscode.ThemeColor('pullRequests.closed')));
90
}
91
item.description = `${notification.owner}/${notification.name}`;
92
item.contextValue = notification.subject.type;
0 commit comments