mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix issues with crd plugins (#243)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
298636b8f1
commit
4cd616bf65
8 files changed
+14
-39
No files matched your search
@@ -69,7 +69,7 @@ export class KubeObjectDetails extends React.Component {
|
||||
const { kind, getName, selfLink } = object;
|
||||
title = `${kind}: ${getName()}`;
|
||||
apiComponents = apiManager.getViews(selfLink);
|
||||
if (isCrdInstance) {
|
||||
if (isCrdInstance && !apiComponents.Details) {
|
||||
apiComponents.Details = CrdResourceDetails
|
||||
apiComponents.Menu = CrdResourceMenu
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user