Skip to content

Commit

Permalink
Fix scrub range reload from url params (#6376)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaHegde committed Jan 9, 2025
1 parent d96f4a8 commit bb3f4ae
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,11 @@ function fromTimeRangesParams(
}

if (preset.selectTimeRange) {
partialExploreState.selectedScrubRange = {
...fromTimeRangeUrlParam(preset.selectTimeRange),
isScrubbing: false,
};
partialExploreState.lastDefinedScrubRange =
partialExploreState.selectedScrubRange = {
...fromTimeRangeUrlParam(preset.selectTimeRange),
isScrubbing: false,
};
} else {
partialExploreState.selectedScrubRange = undefined;
}
Expand Down

3 comments on commit bb3f4ae

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://ui.rilldata.com as production
🚀 Deployed on https://677f79d9c9adf6ac8fbba61e--rill-ui.netlify.app

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.