260204_01_ENH: 카테고리 하위 페이지들 경로명 수정

This commit is contained in:
2026-02-04 12:07:35 +09:00
parent 0b693661f3
commit 544f3010aa
12 changed files with 51 additions and 48 deletions

View File

@@ -35,7 +35,7 @@ const buildDefaultTotalValue = (): SelectedMap => {
export const buildDefaultCategoryValue = (categoryFilterItems: ProductsFilterItem): CategoryFilterValue => {
const initProduct = categoryFilterItems.items[0];
const initType = {label:"보유", value:CategoryTargetType.PENETRATION}
const firstTarget = categoryTarget.find((x) => x.type === initType.value)?.children?.[0]?.target;
const firstTarget = categoryTarget.find((x) => x.type.includes(initType.value))?.children?.[0]?.target;
const initTarget = firstTarget ?? CategoryTargetData.PROFILE;
return {