Skip to content

Commit 1589623

Browse files
[8.19] [Synthetics]: Fixed monitor status rule control (elastic#218994) (elastic#219362)
# Backport This will backport the following commits from `main` to `8.19`: - [[Synthetics]: Fixed monitor status rule control (elastic#218994)](elastic#218994) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Francesco Fagnani","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-04-28T09:44:38Z","message":"[Synthetics]: Fixed monitor status rule control (elastic#218994)\n\nThis PR closes elastic#218968.\n\n\n\nhttps://github.com/user-attachments/assets/380cf606-7126-49e9-9ccc-8c0abfacef43","sha":"47736b21297ad59ddbcb83d436ae05d357475acd","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport:version","v9.1.0","v8.19.0","v8.18.1","v9.0.1","v8.17.6"],"title":"[Synthetics]: Fixed monitor status rule control","number":218994,"url":"https://github.com/elastic/kibana/pull/218994","mergeCommit":{"message":"[Synthetics]: Fixed monitor status rule control (elastic#218994)\n\nThis PR closes elastic#218968.\n\n\n\nhttps://github.com/user-attachments/assets/380cf606-7126-49e9-9ccc-8c0abfacef43","sha":"47736b21297ad59ddbcb83d436ae05d357475acd"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","8.18","9.0","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/218994","number":218994,"mergeCommit":{"message":"[Synthetics]: Fixed monitor status rule control (elastic#218994)\n\nThis PR closes elastic#218968.\n\n\n\nhttps://github.com/user-attachments/assets/380cf606-7126-49e9-9ccc-8c0abfacef43","sha":"47736b21297ad59ddbcb83d436ae05d357475acd"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Francesco Fagnani <[email protected]>
1 parent 9946258 commit 1589623

File tree

1 file changed

+2
-2
lines changed
  • x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items

1 file changed

+2
-2
lines changed

x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ export const ValueExpression = ({
9292
min={0}
9393
value={value}
9494
isInvalid={Number(errors.length) > 0 && value !== undefined}
95-
onChange={(e: any) => {
96-
onChangeSelectedValue(e.target.value as number);
95+
onChange={(e) => {
96+
onChangeSelectedValue(+e.target.value);
9797
}}
9898
/>
9999
</EuiFormRow>

0 commit comments

Comments
 (0)