Skip to content

Commit

Permalink
Fix a field name bug in cluster alert banners
Browse files Browse the repository at this point in the history
This bug prevented links from being properly rendered.
  • Loading branch information
bl-nero committed Sep 21, 2024
1 parent ed26cb1 commit 8eaea30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/packages/teleport/src/Main/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export function Main(props: MainProps) {
const banners: BannerType[] = alerts.map(alert => ({
message: alert.spec.message,
severity: mapSeverity(alert.spec.severity),
link: alert.metadata.labels[LINK_DESTINATION_LABEL],
linkDestination: alert.metadata.labels[LINK_DESTINATION_LABEL],
linkText: alert.metadata.labels[LINK_TEXT_LABEL],
id: alert.metadata.name,
}));
Expand Down

0 comments on commit 8eaea30

Please sign in to comment.