Skip to content

Commit 45065a7

Browse files
committed
Shows null avatars as an account icon
(#4107, #4146)
1 parent 9ec6567 commit 45065a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plus/launchpad/launchpad.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ export class LaunchpadCommand extends QuickCommand<State> {
512512
? new ThemeIcon('account')
513513
: i.author?.avatarUrl != null
514514
? Uri.parse(i.author.avatarUrl)
515-
: undefined,
515+
: new ThemeIcon('account'),
516516
item: i,
517517
picked:
518518
i.graphQLId != null
@@ -1496,7 +1496,7 @@ function getLaunchpadItemReviewInformation(item: LaunchpadItem): QuickPickItemOf
14961496
? new ThemeIcon('account')
14971497
: review.reviewer.avatarUrl != null
14981498
? Uri.parse(review.reviewer.avatarUrl)
1499-
: undefined;
1499+
: new ThemeIcon('account');
15001500
switch (review.state) {
15011501
case ProviderPullRequestReviewState.Approved:
15021502
reviewLabel = `${isCurrentUser ? 'You' : review.reviewer.username} approved these changes`;

0 commit comments

Comments
 (0)