[검색결과 관련수정]

- 일반 검색에서는 필터 노출하지않도록
This commit is contained in:
junghoon86.park
2025-11-12 12:46:50 +09:00
parent fd5b9aab0e
commit 9b4b15f46e

View File

@@ -1,10 +1,21 @@
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'; import React, {
useCallback,
useEffect,
useMemo,
useRef,
useState,
} from 'react';
import classNames from 'classnames'; import classNames from 'classnames';
import { useDispatch, useSelector } from 'react-redux'; import {
useDispatch,
useSelector,
} from 'react-redux';
import Dropdown from '@enact/sandstone/Dropdown';
import Spotlight from '@enact/spotlight'; import Spotlight from '@enact/spotlight';
import SpotlightContainerDecorator from '@enact/spotlight/SpotlightContainerDecorator'; import SpotlightContainerDecorator
from '@enact/spotlight/SpotlightContainerDecorator';
import Spottable from '@enact/spotlight/Spottable'; import Spottable from '@enact/spotlight/Spottable';
import downBtnImg from '../../../assets/images/btn/search_btn_down_arrow.png'; import downBtnImg from '../../../assets/images/btn/search_btn_down_arrow.png';
@@ -14,7 +25,8 @@ import { hideShopperHouseError } from '../../actions/searchActions';
import CustomImage from '../../components/CustomImage/CustomImage'; import CustomImage from '../../components/CustomImage/CustomImage';
import TButtonTab, { LIST_TYPE } from '../../components/TButtonTab/TButtonTab'; import TButtonTab, { LIST_TYPE } from '../../components/TButtonTab/TButtonTab';
import TDropDown from '../../components/TDropDown/TDropDown'; import TDropDown from '../../components/TDropDown/TDropDown';
import TVirtualGridList from '../../components/TVirtualGridList/TVirtualGridList'; import TVirtualGridList
from '../../components/TVirtualGridList/TVirtualGridList';
import { panel_names } from '../../utils/Config'; import { panel_names } from '../../utils/Config';
import { $L } from '../../utils/helperMethods'; import { $L } from '../../utils/helperMethods';
import { SpotlightIds } from '../../utils/SpotlightIds'; import { SpotlightIds } from '../../utils/SpotlightIds';
@@ -24,8 +36,6 @@ import HowAboutTheseSmall from './HowAboutThese/HowAboutThese.small';
import css from './SearchResults.new.v2.module.less'; import css from './SearchResults.new.v2.module.less';
import ItemCard from './SearchResultsNew/ItemCard'; import ItemCard from './SearchResultsNew/ItemCard';
import ShowCard from './SearchResultsNew/ShowCard'; import ShowCard from './SearchResultsNew/ShowCard';
import Dropdown from '@enact/sandstone/Dropdown';
const ITEMS_PER_PAGE = 10; const ITEMS_PER_PAGE = 10;
@@ -926,7 +936,7 @@ const SearchResultsNew = ({
No matches, Showing suggestions No matches, Showing suggestions
</div> </div>
)} )}
{hasShopperHouseItems && (
<Dropdown <Dropdown
className={classNames( className={classNames(
css.dropdown, css.dropdown,
@@ -938,7 +948,7 @@ const SearchResultsNew = ({
> >
{filterMethods} {filterMethods}
</Dropdown> </Dropdown>
)}
</TabContainer> </TabContainer>
{/* 아이템/쇼 컨텐츠 */} {/* 아이템/쇼 컨텐츠 */}