From 4614210aa9878922cfa1e424ce677ef893a1b6b2 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 29 Sep 2025 13:31:40 +0000 Subject: (대표님) 구매 권한설정, data room 등 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/vendor-data/vendor-data-container.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'components/vendor-data') diff --git a/components/vendor-data/vendor-data-container.tsx b/components/vendor-data/vendor-data-container.tsx index 207abcf1..18091070 100644 --- a/components/vendor-data/vendor-data-container.tsx +++ b/components/vendor-data/vendor-data-container.tsx @@ -94,9 +94,7 @@ export function VendorDataContainer({ // URL에서 모드 추출 (ship 프로젝트면 무조건 ENG로, 아니면 URL 또는 기본값) const modeFromUrl = searchParams?.get('mode') - const initialMode = isShipProject - ? "ENG" - : (modeFromUrl === "ENG" || modeFromUrl === "IM") ? modeFromUrl : "IM" + const initialMode ="ENG" // 모드 초기화 (기존의 useState 초기값 대신) React.useEffect(() => { @@ -388,8 +386,9 @@ const handleModeChange = async (mode: "IM" | "ENG") => { className="w-full" > - H/O - ENG + Engineering + Handover + @@ -441,21 +440,22 @@ const handleModeChange = async (mode: "IM" | "ENG") => { {!isShipProject && ( // ship 프로젝트가 아닐 때만 모드 선택 버튼 표시
+
)} -- cgit v1.2.3