Route 'Register Existing API' on API page to /catalog-import

The 'Register Existing API' button on /api-docs was routing to /create but APIs can't be created. Changing to route to /catalog-import where an API can be registered instead.

Signed-off-by: Kamil Zainal <gh@akza.dev>
This commit is contained in:
Kamil Zainal
2022-01-06 12:41:41 +00:00
parent cfca607777
commit a9f1c704dc
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ const app = createApp({
catalogEntity: catalogPlugin.routes.catalogEntity,
});
bind(apiDocsPlugin.externalRoutes, {
createComponent: scaffolderPlugin.routes.root,
registerComponent: catalogImportPlugin.routes.importPage,
});
bind(explorePlugin.externalRoutes, {
catalogEntity: catalogPlugin.routes.catalogEntity,