catalog-graph: add default route target

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-05-08 17:35:17 +02:00
parent 863a800d4e
commit cd6aeea6a2
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-graph': patch
---
The `catalogEntity` external route will now by default bind to the catalog entity page if it is available.
+1
View File
@@ -38,4 +38,5 @@ export const catalogEntityRouteRef = createExternalRouteRef({
id: 'catalog-entity',
params: ['namespace', 'kind', 'name'],
optional: true,
defaultTarget: 'catalog.catalogEntity',
});