Skip to content

Commit

Permalink
ComponentApiDocModelBuilder - fix enum summary order
Browse files Browse the repository at this point in the history
  • Loading branch information
Harvey1214 committed Apr 26, 2024
1 parent 873fc0e commit 93b351e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private void MapEnum(DocXmlReader reader, ComponentApiDocModel model)
try
{
var enumValueComment = enumComments.ValueComments
.Where(o => o.Value == i)
.Where(o => o.Name == enumMember.Name)
.FirstOrDefault(c => !string.IsNullOrEmpty(c.Summary));

if (enumValueComment is not null)
Expand Down

0 comments on commit 93b351e

Please sign in to comment.