Merge pull request #9809 from niallmccullagh/fix-catalog-graph-dev

Fix route ref issue for catalog entity
This commit is contained in:
Fredrik Adelöw
2022-02-25 15:23:30 +01:00
committed by GitHub
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -42,6 +42,7 @@ import {
catalogGraphPlugin,
EntityCatalogGraphCard,
} from '../src';
import { CatalogEntityPage } from '@backstage/plugin-catalog';
type DataRelation = [string, string, string];
type DataEntity = [string, string, DataRelation[]];
@@ -167,6 +168,12 @@ createDevApp()
),
})
.addPage({
path: '/catalog-graph',
element: <CatalogGraphPage />,
})
.addPage({
path: '/catalog/:kind/:namespace/:name',
element: <CatalogEntityPage />,
title: 'MockComponent',
})
.render();
+1
View File
@@ -46,6 +46,7 @@
},
"devDependencies": {
"@backstage/cli": "^0.14.1",
"@backstage/plugin-catalog": "^0.9.0",
"@backstage/core-app-api": "^0.5.4",
"@backstage/dev-utils": "^0.2.23",
"@backstage/test-utils": "^0.2.6",