Commit 0064037
* Prevent multiple call to backend from UI
- Prevent multiple calls to backend from UI on updating the filters
* Committing the fix
- Watch only for the combined change in typesFilter and actionTypesFilter
* UseEffect on string of typeFilter and actionTypeFilter
- We are only concerned about the values of the two
props and not whether the object references change.
In other words, two separate empty arrays should be
same for us.
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Sushrut Kasture <kasturesushrut@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent af2aab6 commit 0064037
File tree
1 file changed
+6
-1
lines changed- x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
| |||
0 commit comments