@factorypure/client-helpers 1.0.6 → 1.0.7
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
|
@@ -193,8 +193,8 @@ const filterLinkedElsewhereResults = (results, variantId) => {
|
|
|
193
193
|
parsedLinkedVariantIds = [];
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
const productLinkedElsewhere =
|
|
197
|
-
!
|
|
196
|
+
const productLinkedElsewhere = parsedLinkedVariantIds.length > 0 &&
|
|
197
|
+
!parsedLinkedVariantIds.includes(variantId);
|
|
198
198
|
if (productLinkedElsewhere) {
|
|
199
199
|
return false;
|
|
200
200
|
}
|