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

@@ -7,11 +7,7 @@
use-server-clustering
map-id="hubs-map"
point-color="#10b981"
:selected-id="selectedHubId"
:hovered-id="hoveredHubId"
:total-count="total"
@select="onSelectHub"
@update:hovered-id="hoveredHubId = $event"
>
<template #searchBar="{ displayedCount, totalCount }">
<CatalogSearchBar
@@ -104,10 +100,6 @@ const {
init
} = useCatalogHubs()
// Selected/hovered hub for map highlighting
const selectedHubId = ref<string>()
const hoveredHubId = ref<string>()
// Search bar
const searchQuery = ref('')
@@ -171,10 +163,6 @@ const onSearch = () => {
// TODO: Implement search by hub name
}
const onSelectHub = (hub: any) => {
selectedHubId.value = hub.uuid
}
await init()
useHead(() => ({