Skip to content

Commit 7ba62a4

Browse files
authored
fix: correctly-pass-description-value (#5985)
1 parent 5f521f9 commit 7ba62a4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

frontend/web/components/segments/Rule/components/RuleConditionRow.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,12 @@ const RuleConditionRow: React.FC<RuleConditionRowProps> = ({
194194
placeholder='Condition description (Optional)'
195195
onChange={(e) => {
196196
const value = Utils.safeParseEventValue(e)
197-
setRuleProperty(ruleIndex, 'description', value)
197+
setRuleProperty(ruleIndex, 'description', { value })
198198
}}
199199
/>
200200
</Row>
201201
)}
202+
202203
{showEvaluationContextWarning && !isSkippingEvaluationContextWarning && (
203204
<Row className='mt-2'>
204205
<div className='d-flex align-items-center gap-1'>

0 commit comments

Comments
 (0)