Fix catalog issues: quantity input, checkbox position, glass header
All checks were successful
Build Docker Image / build (push) Successful in 3m21s

1. Quantity input in Quote mode: replaced button with inline number input
2. Checkbox position: moved to left side (next to panel) instead of right
3. MapPanel glass header: fixed sticky positioning by moving negative margins to children
This commit is contained in:
Ruslan Bakiev
2026-01-24 11:40:33 +07:00
parent 690c76ac79
commit 4d018323e7
5 changed files with 50 additions and 27 deletions

View File

@@ -205,6 +205,11 @@ export function useCatalogSearch() {
updateQuery({ select: type as SelectMode })
}
const setQuantity = (value: string) => {
const qty = value ? value : null
updateQuery({ qty })
}
const clearAll = () => {
if (isMainPage.value) {
router.push({ path: localePath('/catalog'), query: {} })
@@ -277,6 +282,7 @@ export function useCatalogSearch() {
selectItem,
removeFilter,
editFilter,
setQuantity,
clearAll,
setLabel,
setMapViewMode,