From c1eb52ffb266b5be75d979457fe4c1fb9ce256d2 Mon Sep 17 00:00:00 2001 From: benjdlambert Date: Thu, 21 Aug 2025 13:52:04 +0200 Subject: [PATCH 1/2] chore: removing extra slash in the org plugin Signed-off-by: benjdlambert --- .../org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx b/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx index 0c177f31a8..53626ad727 100644 --- a/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx +++ b/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx @@ -135,6 +135,7 @@ export const ComponentsGrid = ({ entityLimit?: number; }) => { const catalogLink = useRouteRef(catalogIndexRouteRef); + if (!relationsType && !relationAggregation) { throw new Error( 'The relationAggregation property must be set as an EntityRelationAggregation type.', @@ -161,7 +162,7 @@ export const ComponentsGrid = ({ counter={c.counter} kind={c.kind} type={c.type} - url={catalogLink && `${catalogLink()}/?${c.queryParams}`} + url={catalogLink && `${catalogLink()}?${c.queryParams}`} /> ))} From 22b69f26743580ce27948022cbcb00382bc49373 Mon Sep 17 00:00:00 2001 From: benjdlambert Date: Thu, 21 Aug 2025 13:59:58 +0200 Subject: [PATCH 2/2] chore: added changeset Signed-off-by: benjdlambert --- .changeset/easy-wings-turn.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/easy-wings-turn.md diff --git a/.changeset/easy-wings-turn.md b/.changeset/easy-wings-turn.md new file mode 100644 index 0000000000..3ce4e76449 --- /dev/null +++ b/.changeset/easy-wings-turn.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-org': patch +--- + +Fixing issue with extra slash in the routing