Skip to content

Commit ea947e1

Browse files
fix webhook expansion when slack is disabled (#3264)
1 parent 0cd7d32 commit ea947e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/app/escalation-policies/PolicyStepForm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,13 @@ function PolicyStepForm(props) {
227227
<Step>
228228
<StepButton
229229
aria-expanded={(
230-
step === (cfg['Webhook.Enable'] ? 4 : 3)
230+
step === (cfg['Slack.Enable'] ? 4 : 3)
231231
).toString()}
232232
data-cy='webhook-step'
233233
icon={<WebhookIcon />}
234234
optional={optionalText}
235235
onClick={() =>
236-
handleStepChange(cfg['Webhook.Enable'] ? 4 : 3)
236+
handleStepChange(cfg['Slack.Enable'] ? 4 : 3)
237237
}
238238
tabIndex={-1}
239239
>

0 commit comments

Comments
 (0)