Clear quantity when switching to explore
Some checks failed
Build Docker Image / build (push) Failing after 20s
Some checks failed
Build Docker Image / build (push) Failing after 20s
This commit is contained in:
@@ -368,8 +368,12 @@ export function useCatalogSearch() {
|
||||
})
|
||||
|
||||
const setCatalogMode = (newMode: CatalogMode) => {
|
||||
if (newMode === 'explore') {
|
||||
updateQuery({ mode: newMode, qty: null })
|
||||
} else {
|
||||
updateQuery({ mode: newMode })
|
||||
}
|
||||
}
|
||||
|
||||
// Can search for offers (product + hub or product + supplier required)
|
||||
const canSearch = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user