Update plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Carl-Erik Bergström <calle.bergstrom@live.se>
This commit is contained in:
Carl-Erik Bergström
2023-08-22 10:36:57 +02:00
committed by GitHub
parent 22ce4f86b5
commit ad285f36e7
@@ -89,7 +89,7 @@ const getChildOwnershipEntityRefs = async (
if (hasChildGroups) {
const entityRefs = childGroups.map(
({ kind, namespace, name }) => `${kind}:${namespace}/${name}`,
r => stringifyEntityRef(r),
);
const childGroupResponse = await catalogApi.getEntitiesByRefs({
fields: ['kind', 'metadata.namespace', 'metadata.name'],