From 95984e67b8d57fbe1431fcfedf3bb682f28416b3 Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Thu, 27 Nov 2025 17:48:28 +0900
Subject: (김준회) swp 영문 처리
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/swp/table/swp-table.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'lib/swp/table/swp-table.tsx')

diff --git a/lib/swp/table/swp-table.tsx b/lib/swp/table/swp-table.tsx
index 6f810415..348f388b 100644
--- a/lib/swp/table/swp-table.tsx
+++ b/lib/swp/table/swp-table.tsx
@@ -47,7 +47,7 @@ export function SwpTable({
     const statusMap = new Map<string, number>();
     
     documents.forEach((doc) => {
-      const status = doc.LTST_ACTV_STAT || "UNKNOWN";
+      const status = doc.LTST_ACTV_STAT || "Waiting";
       statusMap.set(status, (statusMap.get(status) || 0) + 1);
     });
 
@@ -68,7 +68,7 @@ export function SwpTable({
     if (!selectedStatus) {
       return documents;
     }
-    return documents.filter((doc) => doc.LTST_ACTV_STAT === selectedStatus);
+    return documents.filter((doc) => (doc.LTST_ACTV_STAT || "Waiting") === selectedStatus);
   }, [documents, selectedStatus]);
 
   const table = useReactTable({
@@ -95,7 +95,7 @@ export function SwpTable({
           onClick={() => setSelectedStatus(null)}
           className="h-9"
         >
-          전체 ({documents.length})
+          All ({documents.length})
         </Button>
         {statusCounts.map((statusCount) => (
           <Button
@@ -162,7 +162,7 @@ export function SwpTable({
             ) : (
               <TableRow>
                 <TableCell colSpan={swpDocumentColumns.length} className="h-24 text-center">
-                  데이터 없음
+                  No data
                 </TableCell>
               </TableRow>
             )}
-- 
cgit v1.2.3

