From 22ce4f86b57842d1b383f8f59e9cfe75fe887715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Erik=20Bergstr=C3=B6m?= Date: Tue, 22 Aug 2023 10:29:48 +0200 Subject: [PATCH] Update plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fredrik Adelöw Signed-off-by: Carl-Erik Bergström --- .../src/components/Cards/OwnershipCard/useGetEntities.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts b/plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts index 9404782f68..74a9413e48 100644 --- a/plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts +++ b/plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts @@ -109,11 +109,7 @@ const getChildOwnershipEntityRefs = async ( } return [ - stringifyEntityRef({ - kind: entity.kind, - namespace: entity.metadata.namespace, - name: entity.metadata.name, - }), + stringifyEntityRef(entity), ]; };