Merge pull request #5758 from rbrishabh/patch-1
Fix: Diagram component using hardcoded namespace
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog': patch
|
||||
---
|
||||
|
||||
Fix for Diagram component using hard coded namespace.
|
||||
@@ -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}`,
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user