mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
96be46300e
commit
40103a80e4
@ -31,15 +31,9 @@ export default class ClusterMetricsFeatureExtension extends LensRendererExtensio
|
|||||||
title: "Lens Metrics",
|
title: "Lens Metrics",
|
||||||
priority: 5,
|
priority: 5,
|
||||||
components: {
|
components: {
|
||||||
View: (props: {entity: Catalog.KubernetesCluster}) => { // eslint-disable-line
|
View: ({ entity = null }: { entity: Catalog.KubernetesCluster}) => {
|
||||||
const cluster = props.entity; // eslint-disable-line
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section>
|
<MetricsSettings cluster={entity} />
|
||||||
<section>
|
|
||||||
<MetricsSettings cluster={cluster} />
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user