@nuskin/ns-product-lib 2.3.0-cx24-2186.2.2 → 2.3.0-cx24-2186.2.3

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.3.0-cx24-2186.2.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.3.0-cx24-2186.2.2...v2.3.0-cx24-2186.2.3) (2022-10-20)
2
+
3
+
4
+ ### Update
5
+
6
+ * added variant label (#CX24-2186) ([d4d9511](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/d4d9511502d3df8db610e8212f6f7efb95b8c16e)), closes [#CX24-2186](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2186)
7
+
1
8
  # [2.3.0-cx24-2186.2.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.3.0-cx24-2186.2.1...v2.3.0-cx24-2186.2.2) (2022-10-19)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.3.0-cx24-2186.2.2",
3
+ "version": "2.3.0-cx24-2186.2.3",
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": {
@@ -189,9 +189,9 @@ const ProductData = {
189
189
  "shade": "",
190
190
  "status": this.switchStatusFromEquinox(eqVariant.properties.status),
191
191
  "variantType": "Other",
192
- "variantDropdownLabel": "Select Type",
192
+ "variantDropdownLabel": eqVariant.properties.variantLabel || "",
193
193
  "variantDropdownPlaceholder": "Select Type",
194
- "variantsLabel": "Select Type",
194
+ "variantsLabel": eqVariant.properties.variantLabel || "",
195
195
  "groupOffer": false,
196
196
  "personalOffer": false,
197
197
  "savedEventName": null,
@@ -317,9 +317,9 @@ const ProductData = {
317
317
  "shade": "",
318
318
  "status": this.switchStatusFromEquinox(data.sku[count].properties.productStatus),
319
319
  "variantType": "Other",
320
- "variantDropdownLabel": "Select Type",
320
+ "variantDropdownLabel": data.sku[count].properties.variantLabel || "",
321
321
  "variantDropdownPlaceholder": "Select Type",
322
- "variantsLabel": "Select Type",
322
+ "variantsLabel": data.sku[count].properties.variantLabel || "",
323
323
  "groupOffer": false,
324
324
  "personalOffer": false,
325
325
  "savedEventName": null,