Align supplier map with product filter list
Some checks failed
Build Docker Image / build (push) Has been cancelled
Some checks failed
Build Docker Image / build (push) Has been cancelled
This commit is contained in:
@@ -500,7 +500,7 @@ const clusterSupplierUuid = computed(() => supplierId.value || undefined)
|
||||
// When a product filter is active and we're viewing hubs, use the same list data on the map
|
||||
// to avoid mismatch between graph-filtered list and clustered map results.
|
||||
const useServerClustering = computed(() => {
|
||||
if (productId.value && mapViewMode.value === 'hubs') return false
|
||||
if (productId.value && (mapViewMode.value === 'hubs' || mapViewMode.value === 'suppliers')) return false
|
||||
return true
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user