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

Commit a28d67c

Browse files
Merge branch 'features/check-suite-annotations' into features/check-suite-annotations-inline
# Conflicts: # src/GitHub.App/SampleData/PullRequestAnnotationsViewModelDesigner.cs # src/GitHub.App/ViewModels/GitHubPane/PullRequestAnnotationsViewModel.cs
2 parents 480ca1a + b09aaba commit a28d67c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/GitHub.App/SampleData/PullRequestAnnotationsViewModelDesigner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public sealed class PullRequestAnnotationsViewModelDesigner : PanePageViewModelB
4545
{
4646
Annotation = new CheckRunAnnotationModel
4747
{
48-
AnnotationLevel = CheckAnnotationLevel.Error,
48+
AnnotationLevel = CheckAnnotationLevel.Failure,
4949
StartLine = 3,
5050
EndLine = 4,
5151
Path = "asdf/asdf.cs",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void Load(PullRequestDetailModel pullRequest)
128128
CheckRunName = checkSuiteRun.checkRun.Name;
129129

130130
AnnotationsDictionary = checkSuiteRun.checkRun.Annotations
131-
.GroupBy(model => model.Path)
131+
.GroupBy(annotation => annotation.Path)
132132
.ToDictionary(
133133
group => group.Key,
134134
group => (IReadOnlyList<IPullRequestAnnotationItemViewModel>) group

0 commit comments

Comments
 (0)