From 1a8bf9c1c98454bd0e961b84d14299155ad67e7f Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Tue, 18 Nov 2025 12:15:43 +0900
Subject: (김준회) swp: 그룹핑 로직 수정요청사항 반영, 대용량 파일업로드
 formidable 사용한 스트리밍 방식으로 오류 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/swp/table/swp-upload-result-dialog.tsx | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

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

diff --git a/lib/swp/table/swp-upload-result-dialog.tsx b/lib/swp/table/swp-upload-result-dialog.tsx
index 7b79fa68..06caf66e 100644
--- a/lib/swp/table/swp-upload-result-dialog.tsx
+++ b/lib/swp/table/swp-upload-result-dialog.tsx
@@ -9,7 +9,6 @@ import {
 } from "@/components/ui/dialog";
 import { Button } from "@/components/ui/button";
 import { CheckCircle2, XCircle, FileText } from "lucide-react";
-import { ScrollArea } from "@/components/ui/scroll-area";
 
 interface UploadResult {
   fileName: string;
@@ -34,7 +33,7 @@ export function SwpUploadResultDialog({
 
   return (
     <Dialog open={open} onOpenChange={onOpenChange}>
-      <DialogContent className="max-w-3xl max-h-[80vh]">
+      <DialogContent className="max-w-3xl max-h-[80vh] flex flex-col">
         <DialogHeader>
           <DialogTitle>파일 업로드 결과</DialogTitle>
           <DialogDescription>
@@ -42,7 +41,7 @@ export function SwpUploadResultDialog({
           </DialogDescription>
         </DialogHeader>
 
-        <ScrollArea className="max-h-[500px] pr-4">
+        <div className="flex-1 overflow-auto pr-2">
           <div className="space-y-3">
             {results.map((result, index) => (
               <div
@@ -89,9 +88,9 @@ export function SwpUploadResultDialog({
               </div>
             ))}
           </div>
-        </ScrollArea>
+        </div>
 
-        <div className="flex justify-between items-center pt-4 border-t">
+        <div className="flex justify-between items-center pt-4 border-t mt-4">
           <div className="text-sm text-muted-foreground">
             {failCount > 0 && (
               <span className="text-red-600 dark:text-red-400 font-medium">
-- 
cgit v1.2.3

