Skip to content

Commit

Permalink
fix: emote 2.0 filter pills (#2032)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melisa Anabella Rossi authored Oct 3, 2023
1 parent 2842f54 commit 3fadbc4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion webapp/src/modules/routing/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,9 @@ export const hasFiltersEnabled = createSelector<
creators,
rentalDays,
status,
onlySmart
onlySmart,
emoteHasGeometry,
emoteHasSound
} = browseOptions
const isLand = isLandSection(section as Section)

Expand Down Expand Up @@ -665,6 +667,8 @@ export const hasFiltersEnabled = createSelector<
!!minPrice ||
!!maxPrice ||
hasNotOnSaleFilter ||
emoteHasSound ||
emoteHasGeometry ||
(!!status && status !== AssetStatusFilter.ON_SALE)
)
})
Expand Down
4 changes: 3 additions & 1 deletion webapp/src/modules/routing/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ export function getClearedBrowseOptions(
'adjacentToRoad',
'creators',
'rentalDays',
'status'
'status',
'emoteHasSound',
'emoteHasGeometry'
]

const clearedBrowseOptions = fillWithUndefined
Expand Down

1 comment on commit 3fadbc4

@vercel
Copy link

@vercel vercel bot commented on 3fadbc4 Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marketplace – ./

marketplace-decentraland1.vercel.app
marketplace-git-master-decentraland1.vercel.app

Please sign in to comment.