[APM] Blank page when navigating to errors metadata (#104322)

* using history.location instead of location

* removing consoles
This commit is contained in:
Cauê Marcondes 2021-07-06 10:04:31 -04:00 committed by GitHub
parent 57fdadbbec
commit 434568abe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,9 +157,9 @@ export function DetailView({ errorGroup, urlParams }: Props) {
<EuiTab
onClick={() => {
history.replace({
...location,
...history.location,
search: fromQuery({
...toQuery(location.search),
...toQuery(history.location.search),
detailTab: key,
}),
});