직접입력값 평가오류 수정

This commit is contained in:
Macbook
2026-06-18 00:47:58 +09:00
parent bd6094f71f
commit e5b5af093e
11 changed files with 297 additions and 284 deletions
@@ -20,7 +20,7 @@ import {
setConditionRightPeriod,
setConditionThreshold,
setConditionValuePeriod,
canonicalizeConditionThreshold,
ensureDirectThresholdSnapshot,
usesValuePeriodField,
} from '../../utils/conditionPeriods';
import { compositeDisplayName, compositeElementLabel, COMPOSITE_INDICATOR_ITEMS, switchCompositeIndicatorType } from '../../utils/compositeIndicators';
@@ -170,7 +170,7 @@ export default function ConditionNodeSettings({
max={thresholdBounds.max}
allowDecimal
onChange={v => onChange(
canonicalizeConditionThreshold(
ensureDirectThresholdSnapshot(
setConditionThreshold(condition, 'right', v, def, { directInput: true }),
),
)}