Incorporated the feedback.

Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
This commit is contained in:
bnechyporenko
2022-07-06 21:11:49 +02:00
parent 7bdb043b97
commit 923b72c0ff
3 changed files with 4 additions and 8 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ import { AzurePullRequestsPage } from '@backstage/plugin-azure-devops';
import {
CatalogEntityPage,
CatalogIndexPage,
customizedCatalog,
catalogPlugin,
} from '@internal/plugin-catalog-customized';
import { CatalogGraphPage } from '@backstage/plugin-catalog-graph';
@@ -121,7 +121,7 @@ const app = createApp({
},
},
bindRoutes({ bind }) {
bind(customizedCatalog.externalRoutes, {
bind(catalogPlugin.externalRoutes, {
createComponent: scaffolderPlugin.routes.root,
viewTechDoc: techdocsPlugin.routes.docRoot,
});
@@ -132,7 +132,7 @@ const app = createApp({
registerComponent: catalogImportPlugin.routes.importPage,
});
bind(orgPlugin.externalRoutes, {
catalogIndex: customizedCatalog.routes.catalogIndex,
catalogIndex: catalogPlugin.routes.catalogIndex,
});
},
});
+1 -3
View File
@@ -14,6 +14,4 @@
* limitations under the License.
*/
export { customizedCatalog } from './plugin';
export { CatalogEntityPage, CatalogIndexPage } from '@backstage/plugin-catalog';
export * from '@backstage/plugin-catalog';
-2
View File
@@ -19,5 +19,3 @@ import { catalogPlugin } from '@backstage/plugin-catalog';
catalogPlugin.__experimentalReconfigure({
createButtonTitle: 'New',
});
export const customizedCatalog = catalogPlugin;