@crystaldesign/diva-seller 24.12.0-beta.35 → 24.12.0-beta.37
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/build/esm/index.js +6 -2
- package/package.json +5 -5
package/build/esm/index.js
CHANGED
|
@@ -8235,6 +8235,8 @@ function CheckOut(_ref) {
|
|
|
8235
8235
|
onSave: function onSave() {
|
|
8236
8236
|
return productHandler.saveProducts({
|
|
8237
8237
|
products: [currentProduct]
|
|
8238
|
+
}).then(function (r) {
|
|
8239
|
+
return !!r.length;
|
|
8238
8240
|
});
|
|
8239
8241
|
},
|
|
8240
8242
|
saved: true,
|
|
@@ -13707,7 +13709,7 @@ function useProductState (basket, divaNr) {
|
|
|
13707
13709
|
return (_opt$title = opt.title) !== null && _opt$title !== void 0 ? _opt$title : opt.field;
|
|
13708
13710
|
}).join(', ')));
|
|
13709
13711
|
}
|
|
13710
|
-
accountlogourl = catalogs[0].accountLogo;
|
|
13712
|
+
accountlogourl = catalogs === null || catalogs === void 0 ? void 0 : catalogs[0].accountLogo;
|
|
13711
13713
|
if (accountlogourl) {
|
|
13712
13714
|
logofile = new DivaFile({
|
|
13713
13715
|
jwt: jwt,
|
|
@@ -13879,7 +13881,9 @@ function reducer(state, action) {
|
|
|
13879
13881
|
if (newState.modified.variantData.some(function (mod) {
|
|
13880
13882
|
return mod[field.field];
|
|
13881
13883
|
})) {
|
|
13882
|
-
newState.initialSelectedFields.
|
|
13884
|
+
if (!newState.initialSelectedFields.find(function (f) {
|
|
13885
|
+
return f.field == field.field;
|
|
13886
|
+
})) newState.initialSelectedFields.push(field);
|
|
13883
13887
|
}
|
|
13884
13888
|
});
|
|
13885
13889
|
return newState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-seller",
|
|
3
|
-
"version": "24.12.0-beta.
|
|
3
|
+
"version": "24.12.0-beta.37",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"react-dom": "^18.3.1"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@crystaldesign/analytics": "24.12.0-beta.
|
|
33
|
-
"@crystaldesign/products-component": "24.12.0-beta.
|
|
34
|
-
"@crystaldesign/real-time-viewer": "24.12.0-beta.
|
|
32
|
+
"@crystaldesign/analytics": "24.12.0-beta.37",
|
|
33
|
+
"@crystaldesign/products-component": "24.12.0-beta.37",
|
|
34
|
+
"@crystaldesign/real-time-viewer": "24.12.0-beta.37",
|
|
35
35
|
"@material-ui/core": "^4.12.4",
|
|
36
36
|
"@material-ui/icons": "^4.11.2",
|
|
37
37
|
"react-error-boundary": "^4.0.13",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
},
|
|
42
42
|
"types": "./build/types/seller/src/index.d.ts",
|
|
43
43
|
"module": "build/esm/index.js",
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "7b50c49802b6797b0604d109c19d074465876b15"
|
|
45
45
|
}
|