[ST] - fix: 일반검증 수식 사용자 직접입력 등록시 공백제거

This commit is contained in:
2026-09-01 14:41:49 +09:00
parent e8b309460e
commit e80b8953a0
@@ -761,7 +761,7 @@ const FomulaDialog = ({ open, onOpenChange, data, trgtStatsCd, trgtStatsNm, allo
onClick={() => {
if (isUserDirectInputMode) {
setFormulaSaveError(null);
const raw = formulaDisplaySegments.join("");
const raw = formulaDisplaySegments.join("").replace(/\s+/g, "");
const wrapped = wrapWithBacktick(raw);
const isEmptyFormula = raw.trim().length === 0;
const refStats = resolveRefStatsForConfirm(isEmptyFormula);