Skip to content

Commit

Permalink
fix a mds bug that could cause dataSourceId to not show in the url on…
Browse files Browse the repository at this point in the history
… Overview landing page (#828)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
  • Loading branch information
jackiehanyang authored Aug 5, 2024
1 parent 25726fb commit 7529afd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 7529afd

Please sign in to comment.