Skip to content

Commit

Permalink
fix: show filters on ai curation results (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
jajjibhai008 committed May 22, 2024
1 parent 9f361f5 commit cd23266
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/catalogPage/CatalogPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
HIDE_CARDS_REFINEMENT,
TRACKING_APP_NAME,
} from '../../constants';
import features from '../../config';

const learningType = {
attribute: LEARNING_TYPE_REFINEMENT,
Expand Down Expand Up @@ -98,7 +97,7 @@ const CatalogPage = ({ intl }) => {

// Ensure we have availability refinement(s) set by default
if (
!loadedSearchParams.get(AVAILABILITY_REFINEMENT) && !features.ENABLE_AI_CURATION
!loadedSearchParams.get(AVAILABILITY_REFINEMENT)
) {
AVAILABILITY_REFINEMENT_DEFAULTS.map((a) => loadedSearchParams.append(AVAILABILITY_REFINEMENT, a));
reloadPage = true;
Expand Down

0 comments on commit cd23266

Please sign in to comment.