Skip to content

Commit

Permalink
Merge pull request #1758 from golyalpha/patch-1
Browse files Browse the repository at this point in the history
Fix alert name links opening invalid/broken page
  • Loading branch information
simlarsen authored Dec 3, 2024
2 parents c7c6a54 + d1dd0d7 commit bba67af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dashboard/src/Components/Alert/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const AlertElement: FunctionComponent<ComponentProps> = (
onNavigateComplete={props.onNavigateComplete}
className="hover:underline"
to={RouteUtil.populateRouteParams(
RouteMap[PageMap.INCIDENT_VIEW] as Route,
RouteMap[PageMap.ALERT_VIEW] as Route,
{
modelId: new ObjectID(props.alert._id as string),
},
Expand Down

0 comments on commit bba67af

Please sign in to comment.