diff options
| author | joonhoekim <26rote@gmail.com> | 2025-08-06 04:25:00 +0000 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-08-06 04:25:00 +0000 |
| commit | 0e68be98b4ad4691af77232cb0b02b17af825ba3 (patch) | |
| tree | 09dd9152c87a9c21343e6a1562c959a828e2b462 /lib/vendor-document-list/ship/send-to-shi-button.tsx | |
| parent | de2ac5a2860bc25180971e7a11f852d9d44675b7 (diff) | |
(김준회) 문서/도서 리스트 및 제출(조선) 메뉴 디버깅(dolce)
- attachment revisionId 누락건 해결
- crypto 모듈에서 deprecated des-ecb 알고리즘 사용을 위한 추가 처리
- enhancedDocumentsView에 projectId 추가
- route에서 contractId -> projectId 사용하도록 변경
Diffstat (limited to 'lib/vendor-document-list/ship/send-to-shi-button.tsx')
| -rw-r--r-- | lib/vendor-document-list/ship/send-to-shi-button.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/vendor-document-list/ship/send-to-shi-button.tsx b/lib/vendor-document-list/ship/send-to-shi-button.tsx index c67c7b2c..7236dfde 100644 --- a/lib/vendor-document-list/ship/send-to-shi-button.tsx +++ b/lib/vendor-document-list/ship/send-to-shi-button.tsx @@ -44,10 +44,10 @@ export function SendToSHIButton({ const targetSystem = projectType === 'ship' ? "DOLCE" : "SWP" - // 문서에서 유효한 계약 ID 목록 추출 + // 문서에서 유효한 계약 ID 목록 추출 (projectId 사용) const documentsContractIds = React.useMemo(() => { const validIds = documents - .map(doc => doc.projectId) + .map(doc => (doc as any).projectId) .filter((id): id is number => typeof id === 'number' && id > 0) const uniqueIds = [...new Set(validIds)] @@ -185,7 +185,7 @@ export function SendToSHIButton({ setSyncProgress(0) setCurrentSyncingContract(null) - const errorMessage = syncUtils.formatError(error as any) + const errorMessage = syncUtils.formatError(error as Error) toast.error('동기화 실패', { description: errorMessage }) |
