Skip to content

Commit b936b47

Browse files
authored
[Synthetics] When changing condition type of a monitor status rule other conditions are not changed (elastic#216426)
This PR closes elastic#197786 . https://github.com/user-attachments/assets/85c92b09-f477-4e42-9fb7-a8143876e079
1 parent af38192 commit b936b47

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/alerts/common/for_the_last_expression.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,12 @@ export const ForTheLastExpression = ({ ruleParams, setRuleParams }: Props) => {
139139
case 'checksWindow':
140140
setRuleParams('condition', {
141141
...ruleParams.condition,
142-
downThreshold: 5,
143-
locationsThreshold: 1,
144142
window: { numberOfChecks: 5 },
145143
});
146144
break;
147145
case 'timeWindow':
148146
setRuleParams('condition', {
149147
...ruleParams.condition,
150-
downThreshold: 5,
151-
locationsThreshold: 1,
152148
window: { time: { unit: 'm', size: 5 } },
153149
});
154150
break;

0 commit comments

Comments
 (0)