We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6338f62 commit a9f0d12Copy full SHA for a9f0d12
web/moduleMapper/dummy.tsx
@@ -47,12 +47,12 @@ export const ResourceLink: React.FC<ResourceLinkProps> = ({
47
return (
48
//TODO: add icon here
49
<span className={className}>
50
- <span
+ {k8sModels[kind!] && <span
51
className="co-m-resource-icon"
52
style={{ backgroundColor: k8sModels[kind!].color }}
53
title={kind}>
54
{k8sModels[kind!].abbr}
55
- </span>
+ </span>}
56
<span className="co-resource-item__resource-name" data-test-id={value} data-test={dataTest}>
57
{value}
58
</span>
web/src/utils/k8s-models-hook.ts
@@ -75,6 +75,5 @@ export function useK8sModelsWithColors() {
75
setColor('Ingress', '#1F0066');
76
}
77
78
- console.log(k8sModels);
79
return k8sModels;
80
0 commit comments