contentoh-components-library 21.4.91 → 21.4.92
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.
|
@@ -843,7 +843,7 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
|
|
|
843
843
|
setActivePercentage((_retailers$ = retailers[0]) === null || _retailers$ === void 0 ? void 0 : _retailers$.percentage);
|
|
844
844
|
}, [percentages]);
|
|
845
845
|
(0, _react.useEffect)(function () {
|
|
846
|
-
|
|
846
|
+
(0, _utils.getInputsData)(services, activeRetailer, setDatasheets, setDescriptions);
|
|
847
847
|
auditableVersion && loadAuditableData();
|
|
848
848
|
setActivePercentage(Math.round(activeRetailer === null || activeRetailer === void 0 ? void 0 : activeRetailer.percentage, 0));
|
|
849
849
|
(activeRetailer === null || activeRetailer === void 0 ? void 0 : activeRetailer.id) && setImages({
|
package/package.json
CHANGED
|
@@ -453,7 +453,7 @@ export const RetailerProductEdition = ({
|
|
|
453
453
|
}, [percentages]);
|
|
454
454
|
|
|
455
455
|
useEffect(() => {
|
|
456
|
-
|
|
456
|
+
getInputsData(services, activeRetailer, setDatasheets, setDescriptions);
|
|
457
457
|
auditableVersion && loadAuditableData();
|
|
458
458
|
setActivePercentage(Math.round(activeRetailer?.percentage, 0));
|
|
459
459
|
activeRetailer?.id &&
|