From d1dd0d7774be5196bec066b8bb373fe018b1367b Mon Sep 17 00:00:00 2001 From: golyalpha Date: Mon, 2 Dec 2024 21:06:17 +0100 Subject: [PATCH] Update Alert.tsx Fix route on Alert name link in list of alerts --- Dashboard/src/Components/Alert/Alert.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dashboard/src/Components/Alert/Alert.tsx b/Dashboard/src/Components/Alert/Alert.tsx index 7cf143d9fc..c58fbba8c1 100644 --- a/Dashboard/src/Components/Alert/Alert.tsx +++ b/Dashboard/src/Components/Alert/Alert.tsx @@ -20,7 +20,7 @@ const AlertElement: FunctionComponent = ( 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), },