@infrab4a/connect 5.0.0-alpha.11 → 5.0.0-alpha.12
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -6243,7 +6243,7 @@ class CategoryMountOperationsHelper {
|
|
|
6243
6243
|
optionsCache,
|
|
6244
6244
|
dependencies,
|
|
6245
6245
|
});
|
|
6246
|
-
if (mostRelevantProducts.length >= mostRelevantsIds.length) {
|
|
6246
|
+
if (mostRelevantsIds.length && mostRelevantProducts.length >= mostRelevantsIds.length) {
|
|
6247
6247
|
return this.finalizeMountWithMostRelevants({
|
|
6248
6248
|
mostRelevantProducts,
|
|
6249
6249
|
mostRelevantsIds,
|
package/index.esm.js
CHANGED
|
@@ -6218,7 +6218,7 @@ class CategoryMountOperationsHelper {
|
|
|
6218
6218
|
optionsCache,
|
|
6219
6219
|
dependencies,
|
|
6220
6220
|
});
|
|
6221
|
-
if (mostRelevantProducts.length >= mostRelevantsIds.length) {
|
|
6221
|
+
if (mostRelevantsIds.length && mostRelevantProducts.length >= mostRelevantsIds.length) {
|
|
6222
6222
|
return this.finalizeMountWithMostRelevants({
|
|
6223
6223
|
mostRelevantProducts,
|
|
6224
6224
|
mostRelevantsIds,
|