Skip to content

Commit 7529afd

Browse files
fix a mds bug that could cause dataSourceId to not show in the url on Overview landing page (opensearch-project#828)
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
1 parent 25726fb commit 7529afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/pages/Overview/containers/AnomalyDetectionOverview.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export function AnomalyDetectionOverview(props: AnomalyDetectionOverviewProps) {
121121
// Getting all initial sample detectors & indices
122122
useEffect(() => {
123123
const { history, location } = props;
124-
if (dataSourceEnabled && props.landingDataSourceId !== undefined) {
124+
if (dataSourceEnabled) {
125125
const updatedParams = {
126126
dataSourceId: MDSOverviewState.selectedDataSourceId,
127127
};

0 commit comments

Comments
 (0)