From bc7ebebef431329393547886ba41b5cdb57f95d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A0=EB=B3=91=EC=B2=A0?= Date: Tue, 27 Jan 2026 21:27:59 +0900 Subject: [PATCH] =?UTF-8?q?fix(WEB):=20=EA=B2=AC=EC=A0=81=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=ED=83=80=EC=9D=B4?= =?UTF-8?q?=ED=8B=80=20=EB=A1=9C=EC=A7=81=20=EA=B0=84=EC=86=8C=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - IntegratedDetailTemplate 모드별 자동 suffix 활용 - 중복 타이틀 로직 제거 (견적 수정/상세 → 견적) Co-Authored-By: Claude Opus 4.5 --- .../(protected)/sales/quote-management/[id]/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/[locale]/(protected)/sales/quote-management/[id]/page.tsx b/src/app/[locale]/(protected)/sales/quote-management/[id]/page.tsx index db4eb694..14b1b1af 100644 --- a/src/app/[locale]/(protected)/sales/quote-management/[id]/page.tsx +++ b/src/app/[locale]/(protected)/sales/quote-management/[id]/page.tsx @@ -173,13 +173,13 @@ export default function QuoteDetailPage() { }, [router, quoteId, isEditMode]); // 동적 config (모드별 타이틀) + // 참고: IntegratedDetailTemplate에서 mode에 따라 자동으로 "등록/수정" suffix 추가됨 const dynamicConfig = useMemo(() => { - const title = isEditMode ? '견적 수정' : '견적 상세'; return { ...quoteConfig, - title, + title: '견적', }; - }, [isEditMode]); + }, []); // 커스텀 헤더 액션 (상태 뱃지) const customHeaderActions = useMemo(() => {