1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix incorrect CRD casing (#3365)

Signed-off-by: vshakirova <vshakirova@mirantis.com>
This commit is contained in:
Violetta Shakirova 2021-07-13 16:35:06 +04:00 committed by GitHub
parent 5bccc27204
commit c0c1139e3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ export class CrdList extends React.Component {
]} ]}
renderTableContents={(crd: CustomResourceDefinition) => [ renderTableContents={(crd: CustomResourceDefinition) => [
<Link key="link" to={crd.getResourceUrl()} onClick={stopPropagation}> <Link key="link" to={crd.getResourceUrl()} onClick={stopPropagation}>
{crd.getResourceTitle()} {crd.getResourceKind()}
</Link>, </Link>,
crd.getGroup(), crd.getGroup(),
crd.getVersion(), crd.getVersion(),

View File

@ -73,7 +73,7 @@ export class Sidebar extends React.Component<Props> {
key={crd.getResourceApiBase()} key={crd.getResourceApiBase()}
id={`crd-resource:${crd.getResourceApiBase()}`} id={`crd-resource:${crd.getResourceApiBase()}`}
url={crd.getResourceUrl()} url={crd.getResourceUrl()}
text={crd.getResourceTitle()} text={crd.getResourceKind()}
/> />
))} ))}
</SidebarItem> </SidebarItem>