Adds the Resource kind to the useGetEntities fallback options so that Resources are also returned by default on the group ownership card
Signed-off-by: Peter Macdonald <peterm4c@pm.me>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-org': patch
|
||||
---
|
||||
|
||||
Adds the Resource kind to the `useGetEntities` fallback so that Resources are included by default when no specific kinds are provided in the group ownership card.
|
||||
@@ -198,7 +198,7 @@ export function useGetEntities(
|
||||
error?: Error;
|
||||
} {
|
||||
const catalogApi = useApi(catalogApiRef);
|
||||
const kinds = entityFilterKind ?? ['Component', 'API', 'System'];
|
||||
const kinds = entityFilterKind ?? ['Component', 'API', 'System', 'Resource'];
|
||||
|
||||
const {
|
||||
loading,
|
||||
|
||||
Reference in New Issue
Block a user