Merge pull request #17689 from dweber019/fix/tech-radar-links

fix: fix description links when clicking entry in radar
This commit is contained in:
Ben Lambert
2023-05-08 11:22:30 +02:00
committed by GitHub
3 changed files with 9 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-radar': patch
---
Fix description links when clicking entry in radar.
@@ -26,6 +26,7 @@ export type Props = {
value: number;
color: string;
url?: string;
links?: Array<{ title: string; url: string }>;
moved?: number;
description?: string;
timeline?: EntrySnapshot[];
@@ -73,6 +74,7 @@ const RadarEntry = (props: Props): JSX.Element => {
title,
color,
url,
links,
value,
x,
y,
@@ -112,6 +114,7 @@ const RadarEntry = (props: Props): JSX.Element => {
description={description ? description : 'no description'}
timeline={timeline ? timeline : []}
url={url}
links={links}
/>
)}
{description ? (
@@ -73,6 +73,7 @@ const RadarPlot = (props: Props): JSX.Element => {
color={entry.color || ''}
value={(entry?.index || 0) + 1}
url={entry.url}
links={entry.links}
description={entry.description}
moved={entry.moved}
title={entry.title}