From 0f3c95f2d88f21e6a0cbd2b327b239d1a091daa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikul=C3=A1=C5=A1=20Hobl=C3=ADk?= Date: Wed, 15 Nov 2023 16:37:11 +0100 Subject: [PATCH] [docs] Link to component property leads to type definition instead of component #657 --- Havit.Blazor.Documentation/Model/MemberModel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Havit.Blazor.Documentation/Model/MemberModel.cs b/Havit.Blazor.Documentation/Model/MemberModel.cs index ef61222a2..9b6d50a2d 100644 --- a/Havit.Blazor.Documentation/Model/MemberModel.cs +++ b/Havit.Blazor.Documentation/Model/MemberModel.cs @@ -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 {