Skip to content

Commit 69ff362

Browse files
ui: Fixed the time-range selection bug during the click-n-drag interaction (#5935)
* Fixed the timerange selection bug during the click-n-drag interaction * [pre-commit.ci lite] apply automatic fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent 1f214fb commit 69ff362

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/packages/shared/profile/src/ProfileSelector/MetricsGraphSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function MetricsGraphSection({
7676
const to = range.getToMs();
7777
let mergedProfileParams = {};
7878
if (query.profileType().delta) {
79-
mergedProfileParams = {mergeFrom: from, mergeTo: to};
79+
mergedProfileParams = {mergeFrom: from * 1_000_000, mergeTo: to * 1_000_000};
8080
}
8181
setTimeRangeSelection(range);
8282
selectQuery({

0 commit comments

Comments
 (0)