fix: fix description links when clicking entry in radar

Signed-off-by: David Weber <david.weber@w3tec.ch>
This commit is contained in:
David Weber
2023-05-07 16:04:54 +02:00
parent 3a5c675c91
commit be4fa53fab
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}