contentoh-components-library 21.1.98 → 21.1.99
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 +1 -5
- package/dist/components/pages/ProviderProductEdition/index.js +9 -6
- package/package.json +1 -1
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +1 -3
- package/src/components/pages/ProviderProductEdition/index.js +7 -7
|
@@ -559,11 +559,14 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
559
559
|
return getServices();
|
|
560
560
|
|
|
561
561
|
case 6:
|
|
562
|
-
if (!originProp) {
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
562
|
+
// if (!originProp) {
|
|
563
|
+
// setActiveRetailer(
|
|
564
|
+
// product?.retailers
|
|
565
|
+
// ? product?.retailers[0]
|
|
566
|
+
// : product?.retailersAvailable[0]
|
|
567
|
+
// );
|
|
568
|
+
// }
|
|
569
|
+
// setActiveRetailer(product?.retailers[0]);
|
|
567
570
|
setImages({
|
|
568
571
|
action: "init",
|
|
569
572
|
init: services[2]
|
|
@@ -576,7 +579,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
576
579
|
});
|
|
577
580
|
setLoading(false);
|
|
578
581
|
|
|
579
|
-
case
|
|
582
|
+
case 10:
|
|
580
583
|
case "end":
|
|
581
584
|
return _context2.stop();
|
|
582
585
|
}
|
package/package.json
CHANGED
|
@@ -271,13 +271,13 @@ export const ProviderProductEdition = ({
|
|
|
271
271
|
setServices(services);
|
|
272
272
|
await getServices();
|
|
273
273
|
|
|
274
|
-
if (!originProp) {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
}
|
|
274
|
+
// if (!originProp) {
|
|
275
|
+
// setActiveRetailer(
|
|
276
|
+
// product?.retailers
|
|
277
|
+
// ? product?.retailers[0]
|
|
278
|
+
// : product?.retailersAvailable[0]
|
|
279
|
+
// );
|
|
280
|
+
// }
|
|
281
281
|
|
|
282
282
|
// setActiveRetailer(product?.retailers[0]);
|
|
283
283
|
setImages({ action: "init", init: services[2] });
|