From 835010104c25c370c1def1f2de52f518058f8b46 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Thu, 23 Oct 2025 03:25:17 +0000
Subject: (임수민) 데이터룸 파일권한, 리디렉트 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/project/ProjectList.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'components/project/ProjectList.tsx')

diff --git a/components/project/ProjectList.tsx b/components/project/ProjectList.tsx
index 5c01070e..fbb0f42a 100644
--- a/components/project/ProjectList.tsx
+++ b/components/project/ProjectList.tsx
@@ -113,7 +113,9 @@ const fetchProjects = async () => {
     
     if (totalProjects.length === 1) {
       const singleProject = totalProjects[0];
-      router.push(`/evcp/data-room/${singleProject.id}/files`);
+      const currentDomain = pathname?.includes('/partners') ? 'partners' : 'evcp';
+      const lng = pathname?.split('/')[1];
+      router.push(`/${lng}/${currentDomain}/data-room/${singleProject.id}/files`);
     }
   } catch (error) {
     toast({
-- 
cgit v1.2.3

