@factorypure/client-helpers 1.1.26 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2255,7 +2255,7 @@ export function getShownResults(matchResult, sortedResults, minConfidence, sortD
|
|
|
2255
2255
|
const bPrice = b.extracted_total || b.extracted_price || 0;
|
|
2256
2256
|
return sortDirection === 'asc' ? aPrice - bPrice : bPrice - aPrice;
|
|
2257
2257
|
});
|
|
2258
|
-
return shownResults;
|
|
2258
|
+
return shownResults.filter((r) => r.source !== 'FactoryPure');
|
|
2259
2259
|
}
|
|
2260
2260
|
/**
|
|
2261
2261
|
* Derives the needs-review results from a MatchResult.
|
|
@@ -2289,5 +2289,5 @@ export function getNeedsReviewResults(matchResult, sortedResults, shownResults,
|
|
|
2289
2289
|
const bPrice = b.extracted_total || b.extracted_price || 0;
|
|
2290
2290
|
return aPrice - bPrice;
|
|
2291
2291
|
});
|
|
2292
|
-
return needsReviewResults;
|
|
2292
|
+
return needsReviewResults.filter((r) => r.source !== 'FactoryPure');
|
|
2293
2293
|
}
|