@nuskin/ns-product-lib 2.6.1-cx24-337701.10 → 2.6.1-cx24-337701.11

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.6.1-cx24-337701.11](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.1-cx24-337701.10...v2.6.1-cx24-337701.11) (2023-03-20)
2
+
3
+
4
+ ### Fix
5
+
6
+ * The variant drop down label ([de58922](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/de589221aee054cbfb765117a44cd2fca4575468))
7
+
1
8
  ## [2.6.1-cx24-337701.10](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.1-cx24-337701.9...v2.6.1-cx24-337701.10) (2023-03-20)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.6.1-cx24-337701.10",
3
+ "version": "2.6.1-cx24-337701.11",
4
4
  "description": "This project contains shared Product models and code between the backend and frontend.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -374,10 +374,6 @@ const ProductData = {
374
374
  variants[variant.identifier] = this.eqProductVariantMapper(variant);
375
375
  return variant;
376
376
  });
377
-
378
- let defaultKey = productData.sku.map(e => e.default).indexOf(true)
379
- if (defaultKey && productData.sku.length > 1)
380
- variants = this.moveArray(Object.values(variants), defaultKey, 0);
381
377
  }
382
378
 
383
379