From c823ce179d91d5662c14c9d44addd1a6140132fa Mon Sep 17 00:00:00 2001 From: Jackie Han Date: Mon, 5 Aug 2024 16:26:21 -0700 Subject: [PATCH] fix a mds bug that could cause dataSourceId to not show in the url on Overview landing page (#828) Signed-off-by: Jackie Han (cherry picked from commit 7529afdf6d6668664e64926272ca227b1bd10825) --- public/pages/Overview/containers/AnomalyDetectionOverview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/pages/Overview/containers/AnomalyDetectionOverview.tsx b/public/pages/Overview/containers/AnomalyDetectionOverview.tsx index 81dd14cb..856ee1e4 100644 --- a/public/pages/Overview/containers/AnomalyDetectionOverview.tsx +++ b/public/pages/Overview/containers/AnomalyDetectionOverview.tsx @@ -121,7 +121,7 @@ export function AnomalyDetectionOverview(props: AnomalyDetectionOverviewProps) { // Getting all initial sample detectors & indices useEffect(() => { const { history, location } = props; - if (dataSourceEnabled && props.landingDataSourceId !== undefined) { + if (dataSourceEnabled) { const updatedParams = { dataSourceId: MDSOverviewState.selectedDataSourceId, };