diff options
| author | joonhoekim <26rote@gmail.com> | 2025-11-18 12:15:43 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-11-18 12:15:43 +0900 |
| commit | 1a8bf9c1c98454bd0e961b84d14299155ad67e7f (patch) | |
| tree | a82663c3441811c1b3b90ae5136d3198f83a7697 /lib/swp/table/swp-upload-result-dialog.tsx | |
| parent | 2399d5e285bb76c68a2c3368b05ac40478886c2b (diff) | |
(김준회) swp: 그룹핑 로직 수정요청사항 반영, 대용량 파일업로드 formidable 사용한 스트리밍 방식으로 오류 수정
Diffstat (limited to 'lib/swp/table/swp-upload-result-dialog.tsx')
| -rw-r--r-- | lib/swp/table/swp-upload-result-dialog.tsx | 9 |
1 files changed, 4 insertions, 5 deletions
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"> |
