We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a196f4 commit 610a7acCopy full SHA for 610a7ac
keep-ui/features/presets/presets-manager/ui/alerts-rules-builder.tsx
@@ -276,12 +276,8 @@ export const AlertsRulesBuilder = ({
276
}, []);
277
278
useEffect(() => {
279
- if (defaultQuery === "") {
280
- handleClearInput();
281
- } else {
282
- setCELRules(defaultQuery);
283
- }
284
- }, [defaultQuery, handleClearInput]);
+ setCELRules(defaultQuery);
+ }, [defaultQuery]);
285
286
287
// Use the constructCELRules function to set the initial value of celRules
0 commit comments