Fix route ref issue for catalog entity

Signed-off-by: Niall McCullagh <niallmccullagh@users.noreply.github.com>
This commit is contained in:
Niall McCullagh
2022-02-25 09:41:52 +00:00
committed by Fredrik Adelöw
parent b129681aba
commit 622b2d06cd
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",