Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit f8e48fb

Browse files
committed
Fix unit tests.
1 parent 9ee5f0e commit f8e48fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.App/ViewModels/GitHubPane/PullRequestDetailViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ public async Task Load(IPullRequestModel pullRequest)
338338
IsBusy = true;
339339
IsFromFork = !pullRequestsService.IsPullRequestFromRepository(LocalRepository, Model);
340340
SourceBranchDisplayName = GetBranchDisplayName(IsFromFork, pullRequest.Head?.Label);
341-
TargetBranchDisplayName = GetBranchDisplayName(IsFromFork, pullRequest.Base.Label);
341+
TargetBranchDisplayName = GetBranchDisplayName(IsFromFork, pullRequest.Base?.Label);
342342
CommentCount = pullRequest.Comments.Count + pullRequest.ReviewComments.Count;
343343
Body = !string.IsNullOrWhiteSpace(pullRequest.Body) ? pullRequest.Body : Resources.NoDescriptionProvidedMarkdown;
344344

0 commit comments

Comments
 (0)