Skip to content

Commit 062ede1

Browse files
committed
Shows null avatars as an account icon
(#4107, #4146)
1 parent 5eab538 commit 062ede1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plus/launchpad/launchpad.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ export class LaunchpadCommand extends QuickCommand<State> {
513513
? new ThemeIcon('account')
514514
: i.author?.avatarUrl != null
515515
? Uri.parse(i.author.avatarUrl)
516-
: undefined,
516+
: new ThemeIcon('account'),
517517
item: i,
518518
picked:
519519
i.graphQLId != null
@@ -1497,7 +1497,7 @@ function getLaunchpadItemReviewInformation(item: LaunchpadItem): QuickPickItemOf
14971497
? new ThemeIcon('account')
14981498
: review.reviewer.avatarUrl != null
14991499
? Uri.parse(review.reviewer.avatarUrl)
1500-
: undefined;
1500+
: new ThemeIcon('account');
15011501
switch (review.state) {
15021502
case ProviderPullRequestReviewState.Approved:
15031503
reviewLabel = `${isCurrentUser ? 'You' : review.reviewer.username} approved these changes`;

0 commit comments

Comments
 (0)