update to use getEntityByRef
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -30,7 +30,7 @@ export function useCatalogEntity() {
|
||||
error,
|
||||
loading,
|
||||
} = useAsync(
|
||||
() => catalogApi.getEntityByName({ kind: 'Component', namespace, name }),
|
||||
() => catalogApi.getEntityByRef({ kind: 'Component', namespace, name }),
|
||||
[catalogApi, namespace, name],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user