@@ -45,8 +45,6 @@ import { convertLegacyPageExtension } from '@backstage/core-compat-api';
|
||||
import { convertLegacyEntityContentExtension } from '@backstage/plugin-catalog-react/alpha';
|
||||
import { pluginInfoResolver } from './pluginInfoResolver';
|
||||
import { appModuleNav } from './modules/appModuleNav';
|
||||
import devtoolsPlugin from '@backstage/plugin-devtools/alpha';
|
||||
import { unprocessedEntitiesDevToolsContent } from '@backstage/plugin-catalog-unprocessed-entities/alpha';
|
||||
|
||||
/*
|
||||
|
||||
@@ -115,7 +113,7 @@ const customHomePageModule = createFrontendModule({
|
||||
|
||||
const notFoundErrorPageModule = createFrontendModule({
|
||||
pluginId: 'app',
|
||||
extensions: [notFoundErrorPage, unprocessedEntitiesDevToolsContent],
|
||||
extensions: [notFoundErrorPage],
|
||||
});
|
||||
|
||||
const collectedLegacyPlugins = convertLegacyAppRoot(
|
||||
@@ -135,7 +133,6 @@ const app = createApp({
|
||||
notFoundErrorPageModule,
|
||||
appModuleNav,
|
||||
customHomePageModule,
|
||||
devtoolsPlugin,
|
||||
...collectedLegacyPlugins,
|
||||
],
|
||||
advanced: {
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
import { DevToolsContentBlueprint } from '@backstage/plugin-devtools-react';
|
||||
import { compatWrapper } from '@backstage/core-compat-api';
|
||||
|
||||
/**
|
||||
* DevTools content for catalog unprocessed entities.
|
||||
@@ -28,9 +27,9 @@ export const unprocessedEntitiesDevToolsContent = DevToolsContentBlueprint.make(
|
||||
path: 'unprocessed-entities',
|
||||
title: 'Unprocessed Entities',
|
||||
loader: () =>
|
||||
import('../components/UnprocessedEntities').then(m =>
|
||||
compatWrapper(<m.UnprocessedEntitiesContent />),
|
||||
),
|
||||
import('../components/UnprocessedEntities').then(m => (
|
||||
<m.UnprocessedEntitiesContent />
|
||||
)),
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user