Skip to content

Commit

Permalink
Update Alert.tsx
Browse files Browse the repository at this point in the history
Fix route on Alert name link in list of alerts
  • Loading branch information
golyalpha authored Dec 2, 2024
1 parent c7c6a54 commit d1dd0d7
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 d1dd0d7

Please sign in to comment.