mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 07:56:05 +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
|
||||
? renderPromRuleOptions()
|
||||
: renderThresholdRuleOpts()}
|
||||
<InputNumber
|
||||
addonBefore={t('field_threshold')}
|
||||
value={alertDef?.condition?.target}
|
||||
onChange={onChange}
|
||||
type="number"
|
||||
/>
|
||||
<Form.Item name={['condition', 'target']}>
|
||||
<InputNumber
|
||||
addonBefore={t('field_threshold')}
|
||||
value={alertDef?.condition?.target}
|
||||
onChange={onChange}
|
||||
type="number"
|
||||
/>
|
||||
</Form.Item>
|
||||
</FormContainer>
|
||||
</>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user