Take leads-available from the server's per-product counts

Fixkamo-internal
Ya
21 Agosti 2026, 01:48 UTC
Mwandishi
kamo
Ahadi ya
ab26c37

leadsByProduct was derived from the allotment rows, which only cover products someone already holds a credit rule for. The grid lists products from the vendor catalogue, so any product without a rule synthesised a placeholder row and fell through to `leadsAvailable ?? 0` — showing an empty pool for a product holding thousands of leads. Prefers the leadsByProduct map /manage now returns, which covers every product, and keeps the row-derived values as a fallback.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei