fix: fix search issues
This commit is contained in:
@@ -49,6 +49,7 @@ export const useSearchStore = defineStore('search', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
this.page = 1;
|
||||||
this.isLoading = true;
|
this.isLoading = true;
|
||||||
const response = await this.fetchProducts(this.search, this.page, 10);
|
const response = await this.fetchProducts(this.search, this.page, 10);
|
||||||
console.debug('[Search] Perform Search: ', response);
|
console.debug('[Search] Perform Search: ', response);
|
||||||
|
|||||||
Reference in New Issue
Block a user