creating escalation chain from integration fix (#1733)

# What this PR does
It was a bug
https://raintank-corp.slack.com/archives/C0415S5L76Y/p1681287849538729
This commit is contained in:
Yulia Shanyrova 2023-04-12 11:50:02 +02:00 committed by GitHub
parent f61af74411
commit 62a0961b81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -348,7 +348,7 @@ class AlertRules extends React.Component<AlertRulesProps, AlertRulesState> {
)}
{channelFilterIdToCopyEscalationChain && (
<EscalationChainForm
mode={EscalationChainFormMode.Copy}
mode={escalationChainIdToCopy ? EscalationChainFormMode.Copy : EscalationChainFormMode.Create}
escalationChainId={escalationChainIdToCopy}
onHide={() => {
this.setState({