fix(catalog): remove hover/select animations from intermediate pages
All checks were successful
Build Docker Image / build (push) Successful in 3m42s

Animation on map only needed on final pages (routes/sources).
Intermediate pages now navigate directly on card click.

Files changed:
- hubs/index.vue - removed hover/select
- suppliers/index.vue - removed hover/select
- suppliers/[]/[]/index.vue - removed hover
- offers/index.vue - removed hover
- offers/[]/index.vue - removed hover
This commit is contained in:
Ruslan Bakiev
2026-01-19 12:25:58 +07:00
parent b711d5d3b3
commit 2abbfd8895
5 changed files with 0 additions and 35 deletions

View File

@@ -6,11 +6,7 @@
with-map
map-id="suppliers-map"
point-color="#3b82f6"
:selected-id="selectedSupplierId"
:hovered-id="hoveredSupplierId"
:total-count="total"
@select="onSelectSupplier"
@update:hovered-id="hoveredSupplierId = $event"
>
<template #searchBar="{ displayedCount, totalCount }">
<CatalogSearchBar
@@ -68,10 +64,6 @@ const {
init
} = useCatalogSuppliers()
// Selected/hovered supplier for map highlighting
const selectedSupplierId = ref<string>()
const hoveredSupplierId = ref<string>()
// Search bar
const searchQuery = ref('')
@@ -111,10 +103,6 @@ const onSearch = () => {
// TODO: Implement search
}
const onSelectSupplier = (supplier: any) => {
selectedSupplierId.value = supplier.uuid || supplier.teamUuid
}
await init()
useHead(() => ({