fix(org): replace deprecated humanizeEntityRef with Catalog Presentation API

Replace `humanizeEntityRef(parseEntityRef(owner), { defaultKind: 'group' })`
with `entityPresentationSnapshot(ref, { defaultKind: 'group' }).primaryTitle`
in the OwnershipCard's `useGetEntities` hook. This was the last remaining
usage of the deprecated function in the codebase.

Signed-off-by: Marat Dyatko <maratd@spotify.com>
Made-with: Cursor
Signed-off-by: Marat Dyatko <maratd@spotify.com>
Made-with: Cursor
Signed-off-by: Marat Dyatko <maratd@spotify.com>
Made-with: Cursor
This commit is contained in:
Marat Dyatko
2026-04-09 10:40:21 +02:00
parent 09e17c8a65
commit f1f59b13e1
3 changed files with 10 additions and 5 deletions
@@ -0,0 +1,5 @@
---
'@backstage/plugin-org': patch
---
Replaced deprecated `humanizeEntityRef` usage with the Catalog Presentation API.