From 89fa000062650474915d5156fd21c6a85a06608b Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 20 Oct 2025 00:54:54 +0000
Subject: (최겸) 기술영업 벤더, rfq 삭제 기능 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/techsales-rfq/table/detail-table/rfq-detail-column.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'lib/techsales-rfq/table/detail-table/rfq-detail-column.tsx')

diff --git a/lib/techsales-rfq/table/detail-table/rfq-detail-column.tsx b/lib/techsales-rfq/table/detail-table/rfq-detail-column.tsx
index ded0c116..fe9befe5 100644
--- a/lib/techsales-rfq/table/detail-table/rfq-detail-column.tsx
+++ b/lib/techsales-rfq/table/detail-table/rfq-detail-column.tsx
@@ -465,7 +465,7 @@ export function getRfqDetailColumns({
         const vendorId = row.original.vendorId;
         const unreadCount = vendorId ? unreadMessages[vendorId] || 0 : 0;
         const status = row.original.status;
-        const isDraft = status === "Draft";
+        const isAssigned = status === "Assigned";
         
         return (
           <div className="text-right flex items-center justify-end gap-1">
@@ -505,8 +505,8 @@ export function getRfqDetailColumns({
               <DropdownMenuContent align="end">
                 <DropdownMenuItem
                   onClick={() => setRowAction({ row, type: "delete" })}
-                  disabled={!isDraft}
-                  className={!isDraft ? "opacity-50 cursor-not-allowed" : "text-destructive focus:text-destructive"}
+                  disabled={!isAssigned}
+                  className={!isAssigned ? "opacity-50 cursor-not-allowed" : "text-destructive focus:text-destructive"}
                 >
                   <Trash2 className="mr-2 h-4 w-4" />
                   벤더 삭제
-- 
cgit v1.2.3

