diff --git a/.changeset/thick-donkeys-fold.md b/.changeset/thick-donkeys-fold.md index 4720439479..f341724188 100644 --- a/.changeset/thick-donkeys-fold.md +++ b/.changeset/thick-donkeys-fold.md @@ -2,4 +2,4 @@ '@backstage/plugin-catalog': patch --- -Fix for Diagram component using hardcoded namespace +Fix for Diagram component using hard coded namespace. diff --git a/plugins/catalog/src/components/SystemDiagramCard/SystemDiagramCard.tsx b/plugins/catalog/src/components/SystemDiagramCard/SystemDiagramCard.tsx index 4e34fb1910..36fac17d0a 100644 --- a/plugins/catalog/src/components/SystemDiagramCard/SystemDiagramCard.tsx +++ b/plugins/catalog/src/components/SystemDiagramCard/SystemDiagramCard.tsx @@ -157,7 +157,9 @@ export function SystemDiagramCard() { kind: ['Component', 'API', 'Resource', 'System', 'Domain'], 'spec.system': [ currentSystemName, - `${entity.metadata.namespace || ENTITY_DEFAULT_NAMESPACE}/${currentSystemName}`, + `${ + entity.metadata.namespace || ENTITY_DEFAULT_NAMESPACE + }/${currentSystemName}`, ], }, });