From 07c9bfd5860e27165c255a03f51e95d0187459fe Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Wed, 3 Sep 2025 12:46:37 +0000
Subject: (김준회) 결재 API 응답 처리 오류 수정, 자재마스터 상세보기 누락컬럼
 추가
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/knox/approval/ApprovalDetail.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'components/knox/approval/ApprovalDetail.tsx')

diff --git a/components/knox/approval/ApprovalDetail.tsx b/components/knox/approval/ApprovalDetail.tsx
index d6c883cb..c36137b4 100644
--- a/components/knox/approval/ApprovalDetail.tsx
+++ b/components/knox/approval/ApprovalDetail.tsx
@@ -86,7 +86,7 @@ export default function ApprovalDetail({
         getApprovalContent(id)
       ]);
 
-      if (detailResponse.result === 'SUCCESS' && contentResponse.result === 'SUCCESS') {
+      if (detailResponse.result.toLowerCase() === 'success' && contentResponse.result.toLowerCase() === 'success') {
         setApprovalData({
           detail: detailResponse.data,
           content: contentResponse.data
-- 
cgit v1.2.3

