diff --git a/web-common/src/features/dashboards/url-state/convertPresetToExploreState.ts b/web-common/src/features/dashboards/url-state/convertPresetToExploreState.ts index 9f89482dd36..997d6bc7aef 100644 --- a/web-common/src/features/dashboards/url-state/convertPresetToExploreState.ts +++ b/web-common/src/features/dashboards/url-state/convertPresetToExploreState.ts @@ -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; }