Fixed bad help link in Entity Inspector
The help link for labels in the entity inspector was 404ing, so removed it. Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-react': patch
|
||||
---
|
||||
|
||||
Removed broken link from Labels section of entity inspector.
|
||||
+1
-9
@@ -107,15 +107,7 @@ export function OverviewPage(props: { entity: AlphaEntity }) {
|
||||
</List>
|
||||
)}
|
||||
{!!Object.keys(metadata.labels || {}).length && (
|
||||
<List
|
||||
dense
|
||||
subheader={
|
||||
<ListSubheader>
|
||||
Labels
|
||||
<HelpIcon to="https://backstage.io/docs/features/software-catalog/well-known-labels" />
|
||||
</ListSubheader>
|
||||
}
|
||||
>
|
||||
<List dense subheader={<ListSubheader>Labels</ListSubheader>}>
|
||||
{Object.entries(metadata.labels!).map(entry => (
|
||||
<KeyValueListItem key={entry[0]} indent entry={entry} />
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user