Skip to content

Commit

Permalink
feat: add onlyOnSale when not present for ENS section (#2384)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo authored Feb 26, 2025
1 parent 24ffbe1 commit 4da3fce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webapp/src/modules/routing/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,9 @@ function* deriveCurrentOptions(previous: BrowseOptions, current: BrowseOptions)
if (window.location.pathname !== locations.currentAccount()) {
newOptions.onlyOnSale = previous.onlyOnSale === undefined ? true : current.onlyOnSale
}
if (current.onlyOnSale === undefined) {
newOptions.onlyOnSale = true
}

break
}
Expand Down

0 comments on commit 4da3fce

Please sign in to comment.