Merge pull request #4597 from backstage/freben/entity-route-ref

Added the proper type parameters to entityRouteRef
This commit is contained in:
Fredrik Adelöw
2021-02-22 21:35:15 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': patch
---
Added the proper type parameters to entityRouteRef.
+1
View File
@@ -31,6 +31,7 @@ export const entityRoute = createRouteRef({
icon: NoIcon,
path: ':namespace/:kind/:name/*',
title: 'Entity',
params: ['namespace', 'kind', 'name'],
});
export const entityRouteRef = entityRoute;