Skip to content

Commit

Permalink
[doc] ModalHidingEventArgs.Cancel links to /components/ModalHidingEve…
Browse files Browse the repository at this point in the history
…ntArgs#Cancel instead of /types #935
  • Loading branch information
Harvey1214 authored and hakenr committed Jan 10, 2025
1 parent c01017c commit 45b91a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Havit.Blazor.Documentation/Model/MemberModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private string GenerateHavitDocumentationLink(string[] splitLink)
}

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

0 comments on commit 45b91a9

Please sign in to comment.