Skip to content

Commit

Permalink
[docs] Link to component property leads to type definition instead of…
Browse files Browse the repository at this point in the history
… component #657
  • Loading branch information
Harvey1214 committed Nov 15, 2023
1 parent e8018fa commit 0f3c95f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Havit.Blazor.Documentation/Model/MemberModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ private string GenerateHavitDocumentationLink(string[] splitLink)
}
}

isComponent = ApiTypeHelper.GetType(splitLink[^2])?.IsSubclassOf(typeof(ComponentBase)) ?? false;
string className = GetFullGenericTypeName(splitLink[^2]);
isComponent = ApiTypeHelper.GetType(className)?.IsSubclassOf(typeof(ComponentBase)) ?? false;
}
else
{
Expand Down

0 comments on commit 0f3c95f

Please sign in to comment.