api-docs: add default route target
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-api-docs': patch
|
||||
---
|
||||
|
||||
The `registerComponent` external route will now by default bind to the catalog import page if it is available.
|
||||
@@ -26,4 +26,5 @@ export const rootRoute = createRouteRef({
|
||||
export const registerComponentRouteRef = createExternalRouteRef({
|
||||
id: 'register-component',
|
||||
optional: true,
|
||||
defaultTarget: 'catalog-import.importPage',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user