diff --git a/plugins/catalog/src/components/SystemDiagram/SystemDiagram.tsx b/plugins/catalog/src/components/SystemDiagram/SystemDiagram.tsx index 8523e3c4bd..ff9ed10812 100644 --- a/plugins/catalog/src/components/SystemDiagram/SystemDiagram.tsx +++ b/plugins/catalog/src/components/SystemDiagram/SystemDiagram.tsx @@ -55,7 +55,7 @@ export function SystemDiagram({ entity }: SystemDiagramProps) { id: currentSystemNode, }); - // check if the system it has an assigned domain + // check if the system has an assigned domain // even if the domain object doesn't exist in the catalog, display it in the map if (catalogItem.spec?.domain) { systemNodes.push({ @@ -69,14 +69,14 @@ export function SystemDiagram({ entity }: SystemDiagramProps) { } } - // process any component assigned to the system + // process any entity assigned to the system if (catalogItem.spec?.system === currentSystemName) { systemNodes.push({ id: `${catalogItem.kind}:${catalogItem.metadata.name}`.toLowerCase(), }); - // check relations of the entity to see if it maps to anything in our map - // note those elements which are relations may, or may not, be explicitly + // check relations of the entity to see if it relates to other entities + // note those relations may, or may not, be explicitly // assigned to the system if (catalogItem.relations) { for (const relation of catalogItem.relations) {