link on entity page to link to correct docs (#2289)
This commit is contained in:
@@ -104,7 +104,9 @@ export function AboutCard({ entity }: AboutCardProps) {
|
||||
<IconLinkVertical
|
||||
label="View Techdocs"
|
||||
icon={<DocsIcon />}
|
||||
href={`/docs/${''}`}
|
||||
href={`/docs/${entity.kind}:${entity.metadata.namespace ?? ''}:${
|
||||
entity.metadata.name
|
||||
}`}
|
||||
/>
|
||||
</nav>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user