From ea947e1598f129176a27c5689f2b5d4a291e3841 Mon Sep 17 00:00:00 2001 From: Nathaniel Caza Date: Wed, 6 Sep 2023 11:11:02 -0500 Subject: [PATCH] fix webhook expansion when slack is disabled (#3264) --- web/src/app/escalation-policies/PolicyStepForm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/app/escalation-policies/PolicyStepForm.js b/web/src/app/escalation-policies/PolicyStepForm.js index 21eb8de452..337b943a3f 100644 --- a/web/src/app/escalation-policies/PolicyStepForm.js +++ b/web/src/app/escalation-policies/PolicyStepForm.js @@ -227,13 +227,13 @@ function PolicyStepForm(props) { } optional={optionalText} onClick={() => - handleStepChange(cfg['Webhook.Enable'] ? 4 : 3) + handleStepChange(cfg['Slack.Enable'] ? 4 : 3) } tabIndex={-1} >