diff --git a/public/pages/CreateTrigger/components/Action/actions/Message.js b/public/pages/CreateTrigger/components/Action/actions/Message.js index 60b4debc0..d754125d0 100644 --- a/public/pages/CreateTrigger/components/Action/actions/Message.js +++ b/public/pages/CreateTrigger/components/Action/actions/Message.js @@ -172,6 +172,7 @@ export default function Message( switch (monitorType) { case MONITOR_TYPE.BUCKET_LEVEL: displayActionableAlertsOptions = true; + displayThrottlingSettings = actionExecutionScopeId === NOTIFY_OPTIONS_VALUES.PER_ALERT; actionableAlertsSelections = _.get(values, actionableAlertsSelectionsPath); break; case MONITOR_TYPE.DOC_LEVEL: @@ -194,6 +195,8 @@ export default function Message( _.set(values, actionableAlertsSelectionsPath, actionableAlertsSelections); } + if (!displayThrottlingSettings) _.set(values, `${actionPath}.throttle_enabled`, false); + let preview = ''; try { preview = Mustache.render(action.message_template.source, context);