Fix catalog issues: quantity input, checkbox position, glass header
All checks were successful
Build Docker Image / build (push) Successful in 3m21s
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user