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:
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'],
|
||||
|
||||
Reference in New Issue
Block a user