fix: 품목기준관리 실시간 동기화 수정
- BOM 항목 추가/수정/삭제 시 섹션탭 즉시 반영 - 섹션 복제 시 UI 즉시 업데이트 (null vs undefined 이슈 해결) - 항목 수정 기능 추가 (useTemplateManagement) - 실시간 동기화 문서 추가 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -716,7 +716,7 @@ export function getSchemaByItemType(itemType: ItemType) {
|
||||
export function formatZodError(error: z.ZodError): Record<string, string> {
|
||||
const formatted: Record<string, string> = {};
|
||||
|
||||
error.errors.forEach((err) => {
|
||||
error.issues.forEach((err) => {
|
||||
const path = err.path.join('.');
|
||||
formatted[path] = err.message;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user