From 281a9d5e3a120cd59a39e44cd6397556d5a6c07b Mon Sep 17 00:00:00 2001 From: Kevin Delemme Date: Thu, 21 Nov 2024 11:12:10 -0500 Subject: [PATCH] fix(slo): Add missing new context providers around burn rate editor (#201199) (cherry picked from commit 324ecc2c37e59f55643bd5685bb1db08be4a4fb9) --- .../slo/public/rules/register_burn_rate_rule_type.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/observability_solution/slo/public/rules/register_burn_rate_rule_type.ts b/x-pack/plugins/observability_solution/slo/public/rules/register_burn_rate_rule_type.ts index cea53c96ab0a0..cd0b5ec478362 100644 --- a/x-pack/plugins/observability_solution/slo/public/rules/register_burn_rate_rule_type.ts +++ b/x-pack/plugins/observability_solution/slo/public/rules/register_burn_rate_rule_type.ts @@ -67,7 +67,9 @@ export const registerBurnRateRuleType = ( documentationUrl(docLinks) { return `${docLinks.links.observability.sloBurnRateRule}`; }, - ruleParamsExpression: lazy(() => import('../components/burn_rate_rule_editor')), + ruleParamsExpression: lazyWithContextProviders( + lazy(() => import('../components/burn_rate_rule_editor')) + ), validate: validateBurnRateRule, requiresAppContext: false, defaultActionMessage: sloBurnRateDefaultActionMessage,