Skip to content

Commit

Permalink
[Metric threshold] Fix bug in loading the metric threshold alert deta…
Browse files Browse the repository at this point in the history
…ils page (elastic#179219)

Similar elastic#175922

## Summary

Fix the metric threshold alert details page by removing unnecessary
dependencies.

**Note**
This page is disabled behind this feature flag:
`xpack.observability.unsafe.alertDetails.metrics.enabled`

|Before|After|
|---|---|

|![image](https://github.com/elastic/kibana/assets/12370520/8acdc250-1260-4a46-ac46-3f4e359b7d8a)|![image](https://github.com/elastic/kibana/assets/12370520/3760b4c9-f714-4d76-9b5f-a3d3323311b1)|
  • Loading branch information
maryam-saeidi authored Mar 22, 2024
1 parent 09a9f71 commit 59386ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function AlertDetailsAppSection({
),
},
]);
}, [alert, rule, ruleLink, setAlertSummaryFields]);
}, [rule, ruleLink, setAlertSummaryFields]);

return !!rule.params.criteria ? (
<EuiFlexGroup direction="column" data-test-subj="metricThresholdAppSection">
Expand Down

0 comments on commit 59386ba

Please sign in to comment.