contentoh-components-library 21.3.47 → 21.3.49
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/.env.development +0 -2
- package/dist/assets/fonts/roboto/LICENSE.txt +202 -0
- package/dist/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +11 -68
- package/dist/components/organisms/Chat/Chat.stories.js +1 -21
- package/dist/components/organisms/Chat/ContainerItems/index.js +1 -1
- package/dist/components/organisms/Chat/ContentChat/index.js +191 -343
- package/dist/components/organisms/Chat/Footer/index.js +39 -48
- package/dist/components/organisms/Chat/index.js +3 -48
- package/dist/components/organisms/OrderDetail/OrderDetail.stories.js +1 -1
- package/dist/components/organisms/OrderDetail/utils/Table/styles.js +1 -1
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +83 -112
- package/dist/components/pages/ProviderProductEdition/index.js +9 -2
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +70 -85
- package/dist/components/pages/RetailerProductEdition/index.js +2 -4
- package/package.json +1 -1
- package/src/components/molecules/AvatarAndValidation/index.js +1 -1
- package/src/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/src/components/molecules/HeaderTop/index.js +6 -52
- package/src/components/organisms/Chat/Chat.stories.js +0 -21
- package/src/components/organisms/Chat/ContainerItems/index.js +1 -4
- package/src/components/organisms/Chat/ContentChat/index.js +6 -81
- package/src/components/organisms/Chat/Footer/index.js +0 -11
- package/src/components/organisms/Chat/index.js +3 -47
- package/src/components/organisms/OrderDetail/OrderDetail.stories.js +1 -1
- package/src/components/organisms/OrderDetail/utils/Table/styles.js +2 -3
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +83 -120
- package/src/components/pages/ProviderProductEdition/index.js +3 -1
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +75 -89
- package/src/components/pages/RetailerProductEdition/index.js +0 -2
|
@@ -16,37 +16,33 @@ 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In1efY4yZ5TAvzaBbLItby8W7HdLnNjK4Cv39mTCprrk0yjmKhOGIA1gyVeXcm18n5LqSLmOyz85uwTRwZ91s2on49rX3cO9FZp5S3tg4MseNKePBBetwycXttVm_aJZOLGvt2XoAfdxXHTUk2uDu7IphAdz746qrgXxSFyq_cWX9SdWrYhAn_XjHbNOqOuvcmbD7FquvUq-RYWqTAyeT9qeZUjA8oJvENkpohybxc6OoKaPOcdxWvZsvNcFxpEzjHQja3dAQnlA-Pc9_iJf9S4fzf3d3aqXIIDQuozJiixnT6-kK29p4MVbEJ2r4Pd2Ox2A",
|
|
20
20
|
articleId: 238,
|
|
21
21
|
category: 846,
|
|
22
22
|
version: 2,
|
|
23
23
|
productSelected: {
|
|
24
|
-
orderId:
|
|
25
|
-
article_status: "
|
|
26
|
-
datasheet_status: "
|
|
27
|
-
description_status: "
|
|
28
|
-
images_status: "
|
|
24
|
+
orderId: 15104,
|
|
25
|
+
article_status: "AP",
|
|
26
|
+
datasheet_status: "AP",
|
|
27
|
+
description_status: "AP",
|
|
28
|
+
images_status: "AP",
|
|
29
29
|
prio: "none",
|
|
30
30
|
version: 3,
|
|
31
31
|
brand: null,
|
|
32
32
|
article: {
|
|
33
|
-
category: "
|
|
34
|
-
company_name: "
|
|
35
|
-
id_company:
|
|
33
|
+
category: "Juguetes|Juguetes|Juguetes",
|
|
34
|
+
company_name: "Financiado Bodega",
|
|
35
|
+
id_company: 912,
|
|
36
36
|
country: "México",
|
|
37
|
-
id_category: "
|
|
38
|
-
id_article:
|
|
39
|
-
name: "
|
|
40
|
-
upc: "
|
|
37
|
+
id_category: "4208",
|
|
38
|
+
id_article: 37563,
|
|
39
|
+
name: "CARRIOLA Y MUNECA 30CM",
|
|
40
|
+
upc: "26253713351",
|
|
41
41
|
},
|
|
42
42
|
retailers: [
|
|
43
43
|
{
|
|
44
|
-
id:
|
|
45
|
-
name: "
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
id: 68,
|
|
49
|
-
name: "The Home Depot Dropship",
|
|
44
|
+
id: 70,
|
|
45
|
+
name: "Bodega Aurrera",
|
|
50
46
|
},
|
|
51
47
|
],
|
|
52
48
|
services: {
|
|
@@ -55,55 +51,47 @@ ProviderProductEditionDefault.args = {
|
|
|
55
51
|
images: 1,
|
|
56
52
|
},
|
|
57
53
|
statusByRetailer: {
|
|
58
|
-
|
|
59
|
-
datasheet: "
|
|
60
|
-
description: "
|
|
61
|
-
images: "
|
|
54
|
+
70: {
|
|
55
|
+
datasheet: "AP",
|
|
56
|
+
description: "AP",
|
|
57
|
+
images: "AP",
|
|
62
58
|
},
|
|
63
59
|
},
|
|
64
|
-
retailersWithService: ["
|
|
65
|
-
id_article:
|
|
60
|
+
retailersWithService: ["70"],
|
|
61
|
+
id_article: 37563,
|
|
66
62
|
retailersAvailable: [
|
|
67
63
|
{
|
|
68
|
-
id:
|
|
69
|
-
name: "
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
id: 68,
|
|
73
|
-
name: "The Home Depot Dropship",
|
|
64
|
+
id: 70,
|
|
65
|
+
name: "Bodega Aurrera",
|
|
74
66
|
},
|
|
75
67
|
],
|
|
76
68
|
},
|
|
77
69
|
productToEdit: {
|
|
78
|
-
ArticleId:
|
|
79
|
-
idCategory: "
|
|
70
|
+
ArticleId: 37563,
|
|
71
|
+
idCategory: "4208",
|
|
80
72
|
product: {
|
|
81
|
-
orderId:
|
|
82
|
-
article_status: "
|
|
83
|
-
datasheet_status: "
|
|
84
|
-
description_status: "
|
|
85
|
-
images_status: "
|
|
73
|
+
orderId: 15104,
|
|
74
|
+
article_status: "AP",
|
|
75
|
+
datasheet_status: "AP",
|
|
76
|
+
description_status: "AP",
|
|
77
|
+
images_status: "AP",
|
|
86
78
|
prio: "none",
|
|
87
79
|
version: 3,
|
|
88
80
|
brand: null,
|
|
89
81
|
article: {
|
|
90
|
-
category: "
|
|
91
|
-
company_name: "
|
|
92
|
-
id_company:
|
|
82
|
+
category: "Juguetes|Juguetes|Juguetes",
|
|
83
|
+
company_name: "Financiado Bodega",
|
|
84
|
+
id_company: 912,
|
|
93
85
|
country: "México",
|
|
94
|
-
id_category: "
|
|
95
|
-
id_article:
|
|
96
|
-
name: "
|
|
97
|
-
upc: "
|
|
86
|
+
id_category: "4208",
|
|
87
|
+
id_article: 37563,
|
|
88
|
+
name: "CARRIOLA Y MUNECA 30CM",
|
|
89
|
+
upc: "26253713351",
|
|
98
90
|
},
|
|
99
91
|
retailers: [
|
|
100
92
|
{
|
|
101
|
-
id:
|
|
102
|
-
name: "
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
id: 68,
|
|
106
|
-
name: "The Home Depot Dropship",
|
|
93
|
+
id: 70,
|
|
94
|
+
name: "Bodega Aurrera",
|
|
107
95
|
},
|
|
108
96
|
],
|
|
109
97
|
services: {
|
|
@@ -112,87 +100,82 @@ ProviderProductEditionDefault.args = {
|
|
|
112
100
|
images: 1,
|
|
113
101
|
},
|
|
114
102
|
statusByRetailer: {
|
|
115
|
-
|
|
116
|
-
datasheet: "
|
|
117
|
-
description: "
|
|
118
|
-
images: "
|
|
103
|
+
70: {
|
|
104
|
+
datasheet: "AP",
|
|
105
|
+
description: "AP",
|
|
106
|
+
images: "AP",
|
|
119
107
|
},
|
|
120
108
|
},
|
|
121
|
-
retailersWithService: ["
|
|
122
|
-
id_article:
|
|
109
|
+
retailersWithService: ["70"],
|
|
110
|
+
id_article: 37563,
|
|
123
111
|
retailersAvailable: [
|
|
124
112
|
{
|
|
125
|
-
id:
|
|
126
|
-
name: "
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
id: 68,
|
|
130
|
-
name: "The Home Depot Dropship",
|
|
113
|
+
id: 70,
|
|
114
|
+
name: "Bodega Aurrera",
|
|
131
115
|
},
|
|
132
116
|
],
|
|
133
117
|
},
|
|
134
118
|
},
|
|
135
119
|
location: {
|
|
136
|
-
pathname: "/
|
|
120
|
+
pathname: "/products/37563/datasheet",
|
|
137
121
|
search: "",
|
|
138
122
|
hash: "",
|
|
139
123
|
state: {
|
|
140
|
-
|
|
141
|
-
chatType: "product_status",
|
|
124
|
+
origin: "RequestWithContentoh",
|
|
142
125
|
},
|
|
143
|
-
key: "
|
|
126
|
+
key: "144zh0",
|
|
144
127
|
},
|
|
145
128
|
user: {
|
|
146
|
-
id_user:
|
|
147
|
-
name: "
|
|
148
|
-
last_name: "
|
|
149
|
-
email: "
|
|
150
|
-
position: "
|
|
151
|
-
telephone: "+
|
|
129
|
+
id_user: 132,
|
|
130
|
+
name: "Bodega",
|
|
131
|
+
last_name: "Aurrera",
|
|
132
|
+
email: "cadenabodega@allfreemail.net",
|
|
133
|
+
position: "TI",
|
|
134
|
+
telephone: "+529999999999",
|
|
152
135
|
country: "México",
|
|
153
|
-
id_company:
|
|
154
|
-
id_cognito: "
|
|
136
|
+
id_company: 912,
|
|
137
|
+
id_cognito: "fb2304ef-e1a2-4c2b-8874-eb754e4f6332",
|
|
155
138
|
birth_Date: null,
|
|
156
|
-
about_me:
|
|
157
|
-
zip_code:
|
|
158
|
-
address:
|
|
159
|
-
job:
|
|
160
|
-
id_stripe:
|
|
139
|
+
about_me: null,
|
|
140
|
+
zip_code: null,
|
|
141
|
+
address: null,
|
|
142
|
+
job: null,
|
|
143
|
+
id_stripe: null,
|
|
161
144
|
id_role: 0,
|
|
162
145
|
active: 1,
|
|
163
146
|
is_retailer: 1,
|
|
164
|
-
email_notify:
|
|
147
|
+
email_notify: 1,
|
|
165
148
|
is_user_tech: null,
|
|
166
149
|
membership: {
|
|
167
|
-
id:
|
|
168
|
-
start_date: "2022-
|
|
169
|
-
end_date: "2023-
|
|
170
|
-
planID:
|
|
171
|
-
plan: "
|
|
150
|
+
id: 101,
|
|
151
|
+
start_date: "2022-12-22T19:16:53.000Z",
|
|
152
|
+
end_date: "2023-12-22T19:16:53.000Z",
|
|
153
|
+
planID: 8,
|
|
154
|
+
plan: "prod_KtlhECVSFG2iro",
|
|
172
155
|
name: "Plan Pro",
|
|
173
|
-
user_limit: "
|
|
174
|
-
products_limit: "
|
|
175
|
-
type: "
|
|
156
|
+
user_limit: "20",
|
|
157
|
+
products_limit: "5000",
|
|
158
|
+
type: "Enterprise",
|
|
176
159
|
},
|
|
177
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
160
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-132/132.png?1683921632099",
|
|
178
161
|
},
|
|
179
162
|
company: {
|
|
180
|
-
id_company:
|
|
181
|
-
trade_name: "
|
|
182
|
-
company_name: "
|
|
183
|
-
rfc: "
|
|
184
|
-
adress: "
|
|
163
|
+
id_company: 912,
|
|
164
|
+
trade_name: "Financiado Bodega",
|
|
165
|
+
company_name: "Bodega",
|
|
166
|
+
rfc: "9395jwhs",
|
|
167
|
+
adress: "Toluca",
|
|
185
168
|
about_company: null,
|
|
186
169
|
telephone: null,
|
|
187
170
|
web_site: null,
|
|
188
171
|
zip_code: null,
|
|
189
172
|
email: null,
|
|
190
173
|
social_link: null,
|
|
191
|
-
is_retailer:
|
|
174
|
+
is_retailer: 0,
|
|
192
175
|
financedRetailers: [
|
|
193
176
|
{
|
|
194
|
-
id:
|
|
195
|
-
name: "
|
|
177
|
+
id: 70,
|
|
178
|
+
name: "Bodega Aurrera",
|
|
196
179
|
country: "México",
|
|
197
180
|
id_region: 1,
|
|
198
181
|
active: 1,
|
|
@@ -200,28 +183,8 @@ ProviderProductEditionDefault.args = {
|
|
|
200
183
|
],
|
|
201
184
|
retailers: [
|
|
202
185
|
{
|
|
203
|
-
id:
|
|
204
|
-
name: "
|
|
205
|
-
country: "México",
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
id: 60,
|
|
209
|
-
name: "The Home Depot Resizing",
|
|
210
|
-
country: "México",
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
id: 61,
|
|
214
|
-
name: "Home Depot TAB",
|
|
215
|
-
country: "México",
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
id: 68,
|
|
219
|
-
name: "The Home Depot Dropship",
|
|
220
|
-
country: "México",
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
id: 58,
|
|
224
|
-
name: "The Home Depot Golden",
|
|
186
|
+
id: 70,
|
|
187
|
+
name: "Bodega Aurrera",
|
|
225
188
|
country: "México",
|
|
226
189
|
},
|
|
227
190
|
],
|
|
@@ -215,6 +215,7 @@ export const ProviderProductEdition = ({
|
|
|
215
215
|
const [loading, setLoading] = useState(true);
|
|
216
216
|
const [validatedAll, setValidatedAll] = useState(false);
|
|
217
217
|
|
|
218
|
+
console.log({ location });
|
|
218
219
|
const originProp = location?.state?.origin;
|
|
219
220
|
const [origin, setOrigin] = useState({
|
|
220
221
|
"Ficha técnica": originProp,
|
|
@@ -531,6 +532,7 @@ export const ProviderProductEdition = ({
|
|
|
531
532
|
"Contentoh",
|
|
532
533
|
].includes(orgn);
|
|
533
534
|
if (isRetailer) {
|
|
535
|
+
console.log({ revision, currentService });
|
|
534
536
|
if (revision && currentService === "AP") return true;
|
|
535
537
|
} else {
|
|
536
538
|
const { product } = productEdit;
|
|
@@ -1180,6 +1182,7 @@ export const ProviderProductEdition = ({
|
|
|
1180
1182
|
|
|
1181
1183
|
const getSectionStatus = () => {
|
|
1182
1184
|
const concept = getConcept(activeTab);
|
|
1185
|
+
console.log("getSectionStatus", productEdit.product[`${concept}_status`]);
|
|
1183
1186
|
return ["AA", "AP", "R", "CA", "RCA"].includes(
|
|
1184
1187
|
productEdit.product[`${concept}_status`]
|
|
1185
1188
|
);
|
|
@@ -1294,7 +1297,6 @@ export const ProviderProductEdition = ({
|
|
|
1294
1297
|
<HeaderTop
|
|
1295
1298
|
setHeaderTop={setHeaderTop}
|
|
1296
1299
|
withChat={location?.state?.withChat}
|
|
1297
|
-
chatType={location?.state?.chatType}
|
|
1298
1300
|
productSelected={productSelected}
|
|
1299
1301
|
token={token}
|
|
1300
1302
|
activeRetailer={activeRetailer}
|
|
@@ -16,102 +16,88 @@ RetailerProductEditionDefault.args =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aBbLItby8W7HdLnNjK4Cv39mTCprrk0yjmKhOGIA1gyVeXcm18n5LqSLmOyz85uwTRwZ91s2on49rX3cO9FZp5S3tg4MseNKePBBetwycXttVm_aJZOLGvt2XoAfdxXHTUk2uDu7IphAdz746qrgXxSFyq_cWX9SdWrYhAn_XjHbNOqOuvcmbD7FquvUq-RYWqTAyeT9qeZUjA8oJvENkpohybxc6OoKaPOcdxWvZsvNcFxpEzjHQja3dAQnlA-Pc9_iJf9S4fzf3d3aqXIIDQuozJiixnT6-kK29p4MVbEJ2r4Pd2Ox2A",
|
|
20
20
|
productSelected: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
21
|
+
orderId: 15104,
|
|
22
|
+
article_status: "AP",
|
|
23
|
+
datasheet_status: "AC",
|
|
24
|
+
description_status: "AC",
|
|
25
|
+
images_status: "AC",
|
|
26
|
+
prio: "none",
|
|
27
|
+
version: 3,
|
|
28
|
+
brand: null,
|
|
29
|
+
article: {
|
|
30
|
+
category: "Juguetes|Juguetes|Juguetes",
|
|
31
|
+
company_name: "Financiado Bodega",
|
|
32
|
+
id_company: 912,
|
|
33
|
+
country: "México",
|
|
34
|
+
id_category: "4208",
|
|
35
|
+
id_article: 37569,
|
|
36
|
+
name: "BB HORA DEL BANO SET MENTA",
|
|
37
|
+
upc: "93905444796",
|
|
34
38
|
},
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
+
retailers: [
|
|
40
|
+
{
|
|
41
|
+
id: 70,
|
|
42
|
+
name: "Bodega Aurrera",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
services: {
|
|
46
|
+
datasheets: 1,
|
|
47
|
+
descriptions: 1,
|
|
48
|
+
images: 1,
|
|
39
49
|
},
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"id_datasheet_facilitator": null,
|
|
47
|
-
"id_description_especialist": null,
|
|
48
|
-
"id_description_facilitator": null,
|
|
49
|
-
"id_images_especialist": null,
|
|
50
|
-
"id_images_facilitator": null,
|
|
51
|
-
"id_order": 15160,
|
|
52
|
-
"id_article": 39290,
|
|
53
|
-
"id_auditor": 37,
|
|
54
|
-
"name": "MOLDURA MARCO MODER 11X4X244 CM",
|
|
55
|
-
"timestamp": "2023-04-19T21:36:02.000Z",
|
|
56
|
-
"upc": "100030"
|
|
50
|
+
statusByRetailer: {
|
|
51
|
+
70: {
|
|
52
|
+
datasheet: "AP",
|
|
53
|
+
description: "AP",
|
|
54
|
+
images: "AP",
|
|
55
|
+
},
|
|
57
56
|
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"name": "The Home Depot Merchants"
|
|
66
|
-
}
|
|
57
|
+
retailersWithService: ["70"],
|
|
58
|
+
id_article: 37569,
|
|
59
|
+
retailersAvailable: [
|
|
60
|
+
{
|
|
61
|
+
id: 70,
|
|
62
|
+
name: "Bodega Aurrera",
|
|
63
|
+
},
|
|
67
64
|
],
|
|
68
|
-
|
|
69
|
-
"58": {
|
|
70
|
-
"datasheet": "SAC",
|
|
71
|
-
"description": "SAC",
|
|
72
|
-
"images": "SAC"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
},
|
|
65
|
+
},
|
|
76
66
|
location: {
|
|
77
|
-
product: { articleId:
|
|
78
|
-
state: {
|
|
79
|
-
withChat: true,
|
|
80
|
-
chatType: "product_status",
|
|
81
|
-
},
|
|
67
|
+
product: { articleId: 37569, versionId: 3 },
|
|
82
68
|
},
|
|
83
69
|
user: {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
70
|
+
id_user: 132,
|
|
71
|
+
name: "Bodega",
|
|
72
|
+
last_name: "Aurrera",
|
|
73
|
+
email: "cadenabodega@allfreemail.net",
|
|
74
|
+
position: "TI",
|
|
75
|
+
telephone: "+529999999999",
|
|
76
|
+
country: "México",
|
|
77
|
+
id_company: 912,
|
|
78
|
+
id_cognito: "fb2304ef-e1a2-4c2b-8874-eb754e4f6332",
|
|
79
|
+
birth_Date: null,
|
|
80
|
+
about_me: null,
|
|
81
|
+
zip_code: null,
|
|
82
|
+
address: null,
|
|
83
|
+
job: null,
|
|
84
|
+
id_stripe: null,
|
|
85
|
+
id_role: 0,
|
|
86
|
+
active: 1,
|
|
87
|
+
is_retailer: 1,
|
|
88
|
+
email_notify: 1,
|
|
89
|
+
is_user_tech: null,
|
|
90
|
+
membership: {
|
|
91
|
+
id: 101,
|
|
92
|
+
start_date: "2022-12-22T19:16:53.000Z",
|
|
93
|
+
end_date: "2023-12-22T19:16:53.000Z",
|
|
94
|
+
planID: 8,
|
|
95
|
+
plan: "prod_KtlhECVSFG2iro",
|
|
96
|
+
name: "Plan Pro",
|
|
97
|
+
user_limit: "20",
|
|
98
|
+
products_limit: "5000",
|
|
99
|
+
type: "Enterprise",
|
|
114
100
|
},
|
|
115
|
-
|
|
116
|
-
},
|
|
101
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-132/132.png?1683919912271",
|
|
102
|
+
},
|
|
117
103
|
};
|
|
@@ -1271,10 +1271,8 @@ export const RetailerProductEdition = ({
|
|
|
1271
1271
|
setCompare={setCompare}
|
|
1272
1272
|
isAuditor={[1, 6].includes(user.id_role)}
|
|
1273
1273
|
withChat={location?.state?.withChat}
|
|
1274
|
-
chatType={location?.state?.chatType}
|
|
1275
1274
|
productSelected={productSelected}
|
|
1276
1275
|
token={token}
|
|
1277
|
-
activeRetailer={activeRetailer}
|
|
1278
1276
|
/>
|
|
1279
1277
|
<div className="data-container">
|
|
1280
1278
|
<div className="image-data-panel">
|