[SLO] Fixing a missed variable in the discover filter (#178502)

## Summary
This PR is a follow up to #178260, when we added the "Total events"
filter we forgot to update the value's text representation of the
`customTotalFilter`.
This commit is contained in:
Chris Cowan 2024-03-12 09:12:29 -06:00 committed by GitHub
parent 9b27d61bf9
commit 834371ebb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,7 +81,7 @@ function createDiscoverLocator(
alias: i18n.translate('xpack.observability.slo.sloDetails.totalFilterLabel', {
defaultMessage: 'Total events',
}),
value: JSON.stringify(customBadFilter),
value: JSON.stringify(customTotalFilter),
index: indexId,
},
query: customTotalFilter as Record<string, any>,