feat(catalog): filter map clusters by chips
All checks were successful
Build Docker Image / build (push) Successful in 5m1s

This commit is contained in:
Ruslan Bakiev
2026-02-07 08:35:22 +07:00
parent aa7790f45e
commit 755a92d194
7 changed files with 89 additions and 103 deletions

View File

@@ -11,7 +11,10 @@ export interface MapBounds {
export function useClusteredNodes(
transportType?: Ref<string | undefined>,
nodeType?: Ref<string | undefined>
nodeType?: Ref<string | undefined>,
productUuid?: Ref<string | undefined>,
hubUuid?: Ref<string | undefined>,
supplierUuid?: Ref<string | undefined>
) {
const { client } = useApolloClient('publicGeo')
@@ -30,7 +33,10 @@ export function useClusteredNodes(
north: bounds.north,
zoom: Math.floor(bounds.zoom),
transportType: transportType?.value,
nodeType: nodeType?.value
nodeType: nodeType?.value,
productUuid: productUuid?.value,
hubUuid: hubUuid?.value,
supplierUuid: supplierUuid?.value
},
fetchPolicy: 'network-only'
})