fix: fix description links when clicking entry in radar
Signed-off-by: David Weber <david.weber@w3tec.ch>
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user