Skip to content

Commit

Permalink
fix suggs update
Browse files Browse the repository at this point in the history
  • Loading branch information
sawich committed Dec 25, 2023
1 parent 78247cc commit 6c04fa1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/items/search/suggs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ function* getItemValues(item: Item) {
const results = reactive<Items>([]);
watch(
() => request,
() => filter(items)
() => [request, selectedMethod, selectedWhere],
() => filter(items),
{ deep: true }
);
const filter = useDebounceFn((items: Items) => {
Expand Down

0 comments on commit 6c04fa1

Please sign in to comment.