Skip to content

Commit

Permalink
[APM] Use history.replace to preserve back-button functionality (#7…
Browse files Browse the repository at this point in the history
…8978) (#79280)

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
sorenlouv and kibanamachine authored Oct 5, 2020
1 parent e549f3d commit 67cfa50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function useTransactionDistribution(urlParams: IUrlParams) {

const preferredSample = maybe(bucketsSortedByCount[0]?.samples[0]);

history.push({
history.replace({
...history.location,
search: fromQuery({
...omit(toQuery(history.location.search), [
Expand Down

0 comments on commit 67cfa50

Please sign in to comment.