contentoh-components-library 21.1.3 → 21.1.4
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/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +8 -8
- package/dist/components/pages/ProviderProductEdition/index.js +1 -2
- package/package.json +1 -1
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +8 -8
- package/src/components/pages/ProviderProductEdition/index.js +1 -4
|
@@ -37,12 +37,12 @@ ProviderProductEditionDefault.args = {
|
|
|
37
37
|
version: 2,
|
|
38
38
|
productSelected: {
|
|
39
39
|
orderId: 47,
|
|
40
|
-
status: "
|
|
41
|
-
datasheet_status: "
|
|
40
|
+
status: "AP",
|
|
41
|
+
datasheet_status: "AP",
|
|
42
42
|
prio: "none",
|
|
43
43
|
version: 2,
|
|
44
|
-
description_status: "
|
|
45
|
-
images_status: "
|
|
44
|
+
description_status: "AP",
|
|
45
|
+
images_status: "AP",
|
|
46
46
|
brand: null,
|
|
47
47
|
retailerOrder: 0,
|
|
48
48
|
missing: {
|
|
@@ -90,12 +90,12 @@ ProviderProductEditionDefault.args = {
|
|
|
90
90
|
idCategory: "12",
|
|
91
91
|
product: {
|
|
92
92
|
orderId: 47,
|
|
93
|
-
status: "
|
|
94
|
-
datasheet_status: "
|
|
93
|
+
status: "AP",
|
|
94
|
+
datasheet_status: "AP",
|
|
95
95
|
prio: "none",
|
|
96
96
|
version: 2,
|
|
97
|
-
description_status: "
|
|
98
|
-
images_status: "
|
|
97
|
+
description_status: "AP",
|
|
98
|
+
images_status: "AP",
|
|
99
99
|
brand: null,
|
|
100
100
|
retailerOrder: 0,
|
|
101
101
|
missing: {
|
|
@@ -1441,12 +1441,11 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
1441
1441
|
|
|
1442
1442
|
var evaluationComplete = function evaluationComplete(tab) {
|
|
1443
1443
|
var concept = getConcept(tab);
|
|
1444
|
-
console.log(origin[concept], "origin[concept]");
|
|
1445
1444
|
var serv = servicesData.filter(function (item) {
|
|
1446
1445
|
return item.service === concept;
|
|
1447
1446
|
});
|
|
1448
1447
|
|
|
1449
|
-
if (["RequestWithContentoh", "RequestWithoutContentoh"].includes(origin[
|
|
1448
|
+
if (["RequestWithContentoh", "RequestWithoutContentoh"].includes(origin[tab])) {
|
|
1450
1449
|
serv = serv.filter(function (f) {
|
|
1451
1450
|
return f.id_retailer === product.retailer_id;
|
|
1452
1451
|
});
|
package/package.json
CHANGED
|
@@ -22,12 +22,12 @@ ProviderProductEditionDefault.args = {
|
|
|
22
22
|
version: 2,
|
|
23
23
|
productSelected: {
|
|
24
24
|
orderId: 47,
|
|
25
|
-
status: "
|
|
26
|
-
datasheet_status: "
|
|
25
|
+
status: "AP",
|
|
26
|
+
datasheet_status: "AP",
|
|
27
27
|
prio: "none",
|
|
28
28
|
version: 2,
|
|
29
|
-
description_status: "
|
|
30
|
-
images_status: "
|
|
29
|
+
description_status: "AP",
|
|
30
|
+
images_status: "AP",
|
|
31
31
|
brand: null,
|
|
32
32
|
retailerOrder: 0,
|
|
33
33
|
missing: {
|
|
@@ -79,12 +79,12 @@ ProviderProductEditionDefault.args = {
|
|
|
79
79
|
idCategory: "12",
|
|
80
80
|
product: {
|
|
81
81
|
orderId: 47,
|
|
82
|
-
status: "
|
|
83
|
-
datasheet_status: "
|
|
82
|
+
status: "AP",
|
|
83
|
+
datasheet_status: "AP",
|
|
84
84
|
prio: "none",
|
|
85
85
|
version: 2,
|
|
86
|
-
description_status: "
|
|
87
|
-
images_status: "
|
|
86
|
+
description_status: "AP",
|
|
87
|
+
images_status: "AP",
|
|
88
88
|
brand: null,
|
|
89
89
|
retailerOrder: 0,
|
|
90
90
|
missing: {
|
|
@@ -944,12 +944,9 @@ export const ProviderProductEdition = ({
|
|
|
944
944
|
|
|
945
945
|
const evaluationComplete = (tab) => {
|
|
946
946
|
const concept = getConcept(tab);
|
|
947
|
-
console.log(origin[concept], "origin[concept]");
|
|
948
947
|
let serv = servicesData.filter((item) => item.service === concept);
|
|
949
948
|
if (
|
|
950
|
-
["RequestWithContentoh", "RequestWithoutContentoh"].includes(
|
|
951
|
-
origin[concept]
|
|
952
|
-
)
|
|
949
|
+
["RequestWithContentoh", "RequestWithoutContentoh"].includes(origin[tab])
|
|
953
950
|
) {
|
|
954
951
|
serv = serv.filter((f) => f.id_retailer === product.retailer_id);
|
|
955
952
|
}
|