Skip to content

Commit

Permalink
Merge pull request #121383 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.2-121366

release-23.2: pkg/ui: properly derive XScale in statement details page
  • Loading branch information
abarganier authored Apr 3, 2024
2 parents 1bd13ba + 2a7de80 commit 9742133
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -704,9 +704,9 @@ export class StatementDetails extends React.Component<
const duration = (v: number) => Duration(v * 1e9);
const [chartsStart, chartsEnd] = toRoundedDateRange(this.props.timeScale);
const xScale = {
graphTsStartMillis: chartsStart.valueOf,
graphTsEndMillis: chartsEnd.valueOf,
} as unknown as XScale;
graphTsStartMillis: chartsStart.valueOf(),
graphTsEndMillis: chartsEnd.valueOf(),
} as XScale;

return (
<>
Expand Down

0 comments on commit 9742133

Please sign in to comment.