From 5005923ef47a7257d14d8c513cde9c6f6399398b Mon Sep 17 00:00:00 2001 From: Yunus M Date: Mon, 4 Nov 2024 15:19:05 +0530 Subject: [PATCH] fix: re add threshold for promql alerts (#6355) --- .../container/FormAlertRules/RuleOptions.tsx | 49 +++++++++---------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/frontend/src/container/FormAlertRules/RuleOptions.tsx b/frontend/src/container/FormAlertRules/RuleOptions.tsx index 969e34b958..e9aa8f860f 100644 --- a/frontend/src/container/FormAlertRules/RuleOptions.tsx +++ b/frontend/src/container/FormAlertRules/RuleOptions.tsx @@ -386,32 +386,31 @@ function RuleOptions({ renderThresholdRuleOpts()} - {queryCategory !== EQueryType.PROM && - ruleType !== AlertDetectionTypes.ANOMALY_DETECTION_ALERT && ( - - - e.currentTarget.blur()} - /> - + {ruleType !== AlertDetectionTypes.ANOMALY_DETECTION_ALERT && ( + + + e.currentTarget.blur()} + /> + - - + + + )}