Skip to content

Commit

Permalink
fix: remaining changes to enable all logged-out features of lend/filter
Browse files Browse the repository at this point in the history
  • Loading branch information
dyersituations committed Jun 11, 2024
1 parent 688422d commit 1716cc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Kv/KvRangeMinMaxSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default {
return value;
},
onInput() {
this.$emit('change', { min: this.minSelected, max: this.maxSelected });
this.$emit('updated', { min: this.minSelected, max: this.maxSelected });
},
},
watch: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Lend/LoanSearch/LoanSearchFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
:is-percentage="filterConfig.config[key].uiConfig.isPercentage"
:displayed-unit="filterConfig.config[key].uiConfig.displayedUnit"
class="tw-mt-0.5"
@change="payload => debouncedHandleRangeSlider(
@updated="(payload) => debouncedHandleRangeSlider(
filterConfig.config[key].uiConfig.stateKey,
payload,
filterConfig.config[key].uiConfig.eventAction
Expand Down
2 changes: 1 addition & 1 deletion src/components/Lend/LoanSearch/LoanSearchInterface.vue
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export default {
apollo: {
preFetch(_, client, { route }) {
// Handle temporary query param exclusions
if (Object.keys(route?.value?.query ?? {}).length && hasExcludedQueryParams(route?.query)) {
if (Object.keys(route?.value?.query ?? {}).length && hasExcludedQueryParams(route?.value?.query ?? {})) {
// fallback to legacy lend with original query params
return Promise.reject({ path: route.fullPath.replace('/filter', '') });
}
Expand Down

0 comments on commit 1716cc0

Please sign in to comment.