fix: re add threshold for promql alerts (#6355)

This commit is contained in:
Yunus M 2024-11-04 15:19:05 +05:30 committed by GitHub
parent db4338be42
commit 5005923ef4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -386,8 +386,7 @@ function RuleOptions({
renderThresholdRuleOpts()}
<Space direction="vertical" size="large">
{queryCategory !== EQueryType.PROM &&
ruleType !== AlertDetectionTypes.ANOMALY_DETECTION_ALERT && (
{ruleType !== AlertDetectionTypes.ANOMALY_DETECTION_ALERT && (
<Space direction="horizontal" align="center">
<Form.Item noStyle name={['condition', 'target']}>
<InputNumber