Fix route ref issue for catalog entity
Signed-off-by: Niall McCullagh <niallmccullagh@users.noreply.github.com>
This commit is contained in:
committed by
Fredrik Adelöw
parent
b129681aba
commit
622b2d06cd
@@ -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();
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user