260204_01_ENH: 카테고리 하위 페이지들 경로명 수정
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user