260115_03_ENH : 템플릿 저장/수정 전 데이터 검증 추가

This commit is contained in:
2026-01-15 11:44:34 +09:00
parent 431513c195
commit a2cd0dc2f0
4 changed files with 64 additions and 33 deletions

View File

@@ -97,4 +97,6 @@ export const formatKst = (
if (opt === "dateHour") return `${yyyy}-${MM}-${dd} ${HH}`;
if (opt === "dateHourMin") return `${yyyy}-${MM}-${dd} ${HH}:${mm}`;
return `${yyyy}-${MM}-${dd} ${HH}:${mm}:${ss}`;
};
};
export const isBlank = (v?: string | null) => !v || v.trim().length === 0;