mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-16 17:45:55 +08:00
fix: alert threshold disappears on run query (#2888)
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
This commit is contained in:
parent
754ba93df9
commit
bd6745dd66
@ -140,12 +140,14 @@ function RuleOptions({
|
|||||||
{queryCategory === EQueryType.PROM
|
{queryCategory === EQueryType.PROM
|
||||||
? renderPromRuleOptions()
|
? renderPromRuleOptions()
|
||||||
: renderThresholdRuleOpts()}
|
: renderThresholdRuleOpts()}
|
||||||
<InputNumber
|
<Form.Item name={['condition', 'target']}>
|
||||||
addonBefore={t('field_threshold')}
|
<InputNumber
|
||||||
value={alertDef?.condition?.target}
|
addonBefore={t('field_threshold')}
|
||||||
onChange={onChange}
|
value={alertDef?.condition?.target}
|
||||||
type="number"
|
onChange={onChange}
|
||||||
/>
|
type="number"
|
||||||
|
/>
|
||||||
|
</Form.Item>
|
||||||
</FormContainer>
|
</FormContainer>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user