From a4ceade24d28af0bde985bf750017efc02f053ff Mon Sep 17 00:00:00 2001
From: 0-Zz-ang <s1998319@gmail.com>
Date: Thu, 13 Nov 2025 11:36:15 +0900
Subject: (박서영)준법설문조사 RedFlag관련 요청사항 반영
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/compliance/questions/compliance-questions-draggable-list.tsx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'lib/compliance/questions/compliance-questions-draggable-list.tsx')

diff --git a/lib/compliance/questions/compliance-questions-draggable-list.tsx b/lib/compliance/questions/compliance-questions-draggable-list.tsx
index 6a226b54..3dd82138 100644
--- a/lib/compliance/questions/compliance-questions-draggable-list.tsx
+++ b/lib/compliance/questions/compliance-questions-draggable-list.tsx
@@ -35,7 +35,12 @@ function SortableQuestionItem({ question, onSuccess }: SortableQuestionItemProps
             >
               <GripVertical className="h-3 w-3 text-muted-foreground" />
             </SortableDragHandle>
-            <Badge variant="outline">{question.questionNumber}</Badge>
+            <Badge 
+              variant={question.isRedFlag ? "destructive" : "outline"}
+              className={question.isRedFlag ? "bg-red-600 text-white border-red-600" : ""}
+            >
+              {question.questionNumber}
+            </Badge>
             <span className="font-medium flex-1 leading-tight">{question.questionText}</span>
             <div className="flex items-center gap-2">
               <ComplianceQuestionEditSheet question={question} onSuccess={onSuccess} />
-- 
cgit v1.2.3

