We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e372ca9 commit 96e2acfCopy full SHA for 96e2acf
src/App/Lab/CommitHashView.razor
@@ -174,8 +174,8 @@ title="@GetTitle()">@Commit.ShortHash</a>
174
175
private async Task LoadAlternativeInfoAsync()
176
{
177
- if ((AlternativeRepoUrl is null && AlternativeCommitHash is null) ||
178
- (AlternativeRepoUrl == Commit.RepoUrl && AlternativeCommitHash == Commit.Hash))
+ if ((AlternativeRepoUrl is null || AlternativeRepoUrl == Commit.RepoUrl) &&
+ (AlternativeCommitHash is null || AlternativeCommitHash == Commit.Hash))
179
180
alternativeCommit = null;
181
}
0 commit comments