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

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
StanleyGoldman committed Mar 11, 2019
1 parent 3e0b576 commit 858173c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/GitHub.App/ViewModels/CommitActorViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ public class CommitActorViewModel: ActorViewModel, ICommitActorViewModel
public CommitActorViewModel(CommitActorModel model)
:base(model.User)
{
// Initialize(model.User);

Name = model.Name;
Email = model.Email;
HasLogin = model.User != null;
Expand Down
2 changes: 1 addition & 1 deletion src/GitHub.App/ViewModels/Documents/CommitListViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ string BuildAuthorCaption()
{
var result = new StringBuilder();

if (Commits.Any(x => GetAuthorDisplayName(x.Author) != GetAuthorDisplayName(Author)))
if (Commits.Any(x => GetAuthorDisplayName(x.Author) != AuthorName))
{
result.Append(Resources.AndOthers);
result.Append(' ');
Expand Down

0 comments on commit 858173c

Please sign in to comment.