Skip to content

Commit

Permalink
Add fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
karlomikus committed Sep 9, 2023
1 parent 106a72d commit faefc55
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.20.2
## Fixes
- Fix image size preview in site search
- Fix clear refinements not clearing correctly #111
- Fix searching not resetting pagination #111

# v1.20.1
## Fixes
- Fix an issue with cocktail importing when glass or method was empty #108
Expand Down
2 changes: 2 additions & 0 deletions src/components/Cocktail/CocktailIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ export default {
clearTimeout(this.queryTimer)
this.queryTimer = setTimeout(() => {
this.currentPage = 1
this.updateRouterPath()
}, 300)
},
Expand All @@ -415,6 +416,7 @@ export default {
tags: [],
glasses: [],
methods: [],
main_ingredients: [],
ingredients: [],
collections: [],
user_rating: null,
Expand Down
2 changes: 2 additions & 0 deletions src/components/Ingredient/IngredientIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ export default {
clearTimeout(this.queryTimer)
this.queryTimer = setTimeout(() => {
this.currentPage = 1
this.updateRouterPath()
}, 300)
},
Expand All @@ -301,6 +302,7 @@ export default {
on_shelf: false,
main_ingredients: false,
on_shopping_list: false,
strength: null
};
this.updateRouterPath();
Expand Down
1 change: 1 addition & 0 deletions src/components/SiteAutocomplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export default {
background-size: cover;
background-repeat: no-repeat;
margin-right: 10px;
flex-shrink: 0;
}
.site-autocomplete__results__content span,
Expand Down

0 comments on commit faefc55

Please sign in to comment.