diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-10-23 03:25:17 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-10-23 03:25:17 +0000 |
| commit | 835010104c25c370c1def1f2de52f518058f8b46 (patch) | |
| tree | a3195a9adfed58e110ef683630d4464ff95a52dd /components/project/ProjectList.tsx | |
| parent | c64264ac25716256c0c7c4f56e6f459747f4ef11 (diff) | |
(임수민) 데이터룸 파일권한, 리디렉트 수정
Diffstat (limited to 'components/project/ProjectList.tsx')
| -rw-r--r-- | components/project/ProjectList.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
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({ |
