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

Commit 858173c

Browse files
Cleanup
1 parent 3e0b576 commit 858173c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/GitHub.App/ViewModels/CommitActorViewModel.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ public class CommitActorViewModel: ActorViewModel, ICommitActorViewModel
77
public CommitActorViewModel(CommitActorModel model)
88
:base(model.User)
99
{
10-
// Initialize(model.User);
11-
1210
Name = model.Name;
1311
Email = model.Email;
1412
HasLogin = model.User != null;

src/GitHub.App/ViewModels/Documents/CommitListViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ string BuildAuthorCaption()
6363
{
6464
var result = new StringBuilder();
6565

66-
if (Commits.Any(x => GetAuthorDisplayName(x.Author) != GetAuthorDisplayName(Author)))
66+
if (Commits.Any(x => GetAuthorDisplayName(x.Author) != AuthorName))
6767
{
6868
result.Append(Resources.AndOthers);
6969
result.Append(' ');

0 commit comments

Comments
 (0)