Merge pull request #5758 from rbrishabh/patch-1

Fix: Diagram component using hardcoded namespace
This commit is contained in:
Patrik Oldsberg
2021-06-15 18:28:59 +02:00
committed by GitHub
2 changed files with 8 additions and 1 deletions
@@ -157,7 +157,9 @@ export function SystemDiagramCard() {
kind: ['Component', 'API', 'Resource', 'System', 'Domain'],
'spec.system': [
currentSystemName,
`${ENTITY_DEFAULT_NAMESPACE}/${currentSystemName}`,
`${
entity.metadata.namespace || ENTITY_DEFAULT_NAMESPACE
}/${currentSystemName}`,
],
},
});