contentoh-components-library 21.5.75 → 21.5.76
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.
|
@@ -64,7 +64,6 @@ var productReducer = function productReducer(state, action) {
|
|
|
64
64
|
|
|
65
65
|
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
66
66
|
product: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state.product), {}, {
|
|
67
|
-
description_status: action.payload,
|
|
68
67
|
statusByRetailer: (((_state$product = state.product) === null || _state$product === void 0 ? void 0 : _state$product.statusByRetailer) || []).map(function (retailerStatus) {
|
|
69
68
|
return retailerStatus.service === "description" ? (0, _objectSpread2.default)((0, _objectSpread2.default)({}, retailerStatus), {}, {
|
|
70
69
|
status: action.payload
|
|
@@ -80,7 +79,6 @@ var productReducer = function productReducer(state, action) {
|
|
|
80
79
|
|
|
81
80
|
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
82
81
|
product: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state.product), {}, {
|
|
83
|
-
datasheet_status: action.payload,
|
|
84
82
|
statusByRetailer: (((_state$product2 = state.product) === null || _state$product2 === void 0 ? void 0 : _state$product2.statusByRetailer) || []).map(function (retailerStatus) {
|
|
85
83
|
return retailerStatus.service === "datasheet" ? (0, _objectSpread2.default)((0, _objectSpread2.default)({}, retailerStatus), {}, {
|
|
86
84
|
status: action.payload
|
|
@@ -96,7 +94,6 @@ var productReducer = function productReducer(state, action) {
|
|
|
96
94
|
|
|
97
95
|
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
98
96
|
product: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state.product), {}, {
|
|
99
|
-
images_status: action.payload,
|
|
100
97
|
statusByRetailer: (((_state$product3 = state.product) === null || _state$product3 === void 0 ? void 0 : _state$product3.statusByRetailer) || []).map(function (retailerStatus) {
|
|
101
98
|
return retailerStatus.service === "images" ? (0, _objectSpread2.default)((0, _objectSpread2.default)({}, retailerStatus), {}, {
|
|
102
99
|
status: action.payload
|
package/package.json
CHANGED
|
@@ -52,7 +52,6 @@ export const productReducer = (state, action) => {
|
|
|
52
52
|
...state,
|
|
53
53
|
product: {
|
|
54
54
|
...state.product,
|
|
55
|
-
description_status: action.payload,
|
|
56
55
|
statusByRetailer: (state.product?.statusByRetailer || []).map(
|
|
57
56
|
(retailerStatus) =>
|
|
58
57
|
retailerStatus.service === "description"
|
|
@@ -68,7 +67,6 @@ export const productReducer = (state, action) => {
|
|
|
68
67
|
...state,
|
|
69
68
|
product: {
|
|
70
69
|
...state.product,
|
|
71
|
-
datasheet_status: action.payload,
|
|
72
70
|
statusByRetailer: (state.product?.statusByRetailer || []).map(
|
|
73
71
|
(retailerStatus) =>
|
|
74
72
|
retailerStatus.service === "datasheet"
|
|
@@ -84,7 +82,6 @@ export const productReducer = (state, action) => {
|
|
|
84
82
|
...state,
|
|
85
83
|
product: {
|
|
86
84
|
...state.product,
|
|
87
|
-
images_status: action.payload,
|
|
88
85
|
statusByRetailer: (state.product?.statusByRetailer || []).map(
|
|
89
86
|
(retailerStatus) =>
|
|
90
87
|
retailerStatus.service === "images"
|