From a744b408f6d078b05d26e364e972ce5207751e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Erik=20Bergstr=C3=B6m?= Date: Tue, 22 Aug 2023 16:36:49 +0200 Subject: [PATCH] chore: fmt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Carl-Erik Bergström --- .../src/components/Cards/OwnershipCard/useGetEntities.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts b/plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts index 093deba5c5..1ff01cd8e1 100644 --- a/plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts +++ b/plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts @@ -88,9 +88,7 @@ const getChildOwnershipEntityRefs = async ( const hasChildGroups = childGroups.length > 0; if (hasChildGroups) { - const entityRefs = childGroups.map( - r => stringifyEntityRef(r), - ); + const entityRefs = childGroups.map(r => stringifyEntityRef(r)); const childGroupResponse = await catalogApi.getEntitiesByRefs({ fields: ['kind', 'metadata.namespace', 'metadata.name'], entityRefs, @@ -108,9 +106,7 @@ const getChildOwnershipEntityRefs = async ( ).flatMap(aggregated => aggregated); } - return [ - stringifyEntityRef(entity), - ]; + return [stringifyEntityRef(entity)]; }; const getOwners = async (