Skip to content

Commit

Permalink
[Synthetics] adjust view errors detail link for project and ui monito…
Browse files Browse the repository at this point in the history
…rs (#157063)

## Summary

Adjusts the View Error Details link on the Monitor Details page to use
the correct config id.

Previously, the url was using the monitor query id, which is different
than the config id for project monitors.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 32d3ac2)
  • Loading branch information
dominiqueclarke committed May 8, 2023
1 parent 28f77fb commit 5edd687
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const LastTestRunComponent = ({
color="danger"
href={getErrorDetailsUrl({
basePath,
configId: monitor?.id!,
configId: monitor?.[ConfigKey.CONFIG_ID]!,
locationId: selectedLocation!.id,
stateId: latestPing.state?.id!,
})}
Expand Down

0 comments on commit 5edd687

Please sign in to comment.