fix(WEB): 견적 상세 페이지 타이틀 로직 간소화

- IntegratedDetailTemplate 모드별 자동 suffix 활용
- 중복 타이틀 로직 제거 (견적 수정/상세 → 견적)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
유병철
2026-01-27 21:27:59 +09:00
parent bcc5e70c20
commit bc7ebebef4

View File

@@ -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(() => {