From 8612e268f8046c582df0345a83fca3d109823849 Mon Sep 17 00:00:00 2001 From: "Brennan Wilkes (Text Groove)" Date: Mon, 2 Feb 2026 09:10:21 -0800 Subject: [PATCH] link sku --- viz/app/linker/suggestions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/viz/app/linker/suggestions.js b/viz/app/linker/suggestions.js index ccf9ebd..980a1ee 100644 --- a/viz/app/linker/suggestions.js +++ b/viz/app/linker/suggestions.js @@ -37,7 +37,7 @@ export function topSuggestions(allAgg, limit, otherPinnedSku, mappedSkus) { const scored = []; for (const it of allAgg) { if (!it) continue; - if (mappedSkus && mappedSkus.has(String(it.sku))) continue; + // if (mappedSkus && mappedSkus.has(String(it.sku))) continue; if (otherPinnedSku && String(it.sku) === String(otherPinnedSku)) continue; const stores = it.stores ? it.stores.size : 0; @@ -327,7 +327,7 @@ export function recommendSimilar( if (!aSku || !bSku || aSku === bSku) continue; // Only link *unmapped* targets in this stage - if (mappedSkus && mappedSkus.has(bSku)) continue; + // if (mappedSkus && mappedSkus.has(bSku)) continue; if (typeof sameStoreFn === "function" && sameStoreFn(aSku, bSku)) continue; if (typeof isIgnoredPairFn === "function" && isIgnoredPairFn(aSku, bSku)) continue; @@ -420,7 +420,7 @@ export function recommendSimilar( const bSku = String(b.sku || ""); if (!bSku || bSku === aSku) continue; if (used.has(bSku)) continue; - if (mappedSkus && mappedSkus.has(bSku)) continue; + // if (mappedSkus && mappedSkus.has(bSku)) continue; if (typeof isIgnoredPairFn === "function" && isIgnoredPairFn(aSku, bSku)) continue; if (typeof sameStoreFn === "function" && sameStoreFn(aSku, bSku)) continue;