mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Observability] [Alerts table] Fix cannot display alerts error (#198914)
Resolves https://github.com/elastic/kibana/issues/198912 ### Testing - Create ES query rule in Observability - Open Alert flyout of the ES query alert - Verify that Alert flyout opens as expected
This commit is contained in:
parent
03cd302aa2
commit
f8c01d41d2
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ export const mapRuleParamsWithFlyout = (alert: TopAlert): FlyoutThresholdData[]
|
|||
const { thresholdComparator, threshold } = ruleParams as EsQueryRuleParams;
|
||||
const ESQueryFlyoutMap = {
|
||||
observedValue: [alert.fields[ALERT_EVALUATION_VALUE]],
|
||||
threshold: threshold.join(' AND '),
|
||||
threshold: [threshold].flat().join(' AND '),
|
||||
comparator: thresholdComparator,
|
||||
pctAboveThreshold: getPctAboveThreshold(
|
||||
threshold,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue