fix(catalog): remove hover/select animations from intermediate pages
All checks were successful
Build Docker Image / build (push) Successful in 3m42s
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:
@@ -8,8 +8,6 @@
|
||||
cluster-node-type="logistics"
|
||||
map-id="offers-product-hubs-map"
|
||||
point-color="#10b981"
|
||||
:hovered-id="hoveredHubId"
|
||||
@update:hovered-id="hoveredHubId = $event"
|
||||
@select="onSelectHub"
|
||||
>
|
||||
<template #searchBar="{ displayedCount, totalCount }">
|
||||
@@ -57,7 +55,6 @@ const { t } = useI18n()
|
||||
const isLoading = ref(true)
|
||||
const product = ref<{ uuid: string; name: string } | null>(null)
|
||||
const hubs = ref<Array<{ uuid: string; name: string; latitude?: number; longitude?: number; country?: string; countryCode?: string }>>([])
|
||||
const hoveredHubId = ref<string>()
|
||||
|
||||
const productId = computed(() => route.params.productId as string)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user