contentoh-components-library 21.3.49 → 21.3.50
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 +3 -3
- package/dist/components/pages/ProviderProductEdition/index.js +3 -0
- package/package.json +1 -1
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +3 -3
- package/src/components/pages/ProviderProductEdition/index.js +7 -1
|
@@ -125,12 +125,12 @@ ProviderProductEditionDefault.args = {
|
|
|
125
125
|
},
|
|
126
126
|
location: {
|
|
127
127
|
pathname: "/products/37563/datasheet",
|
|
128
|
-
search: "",
|
|
129
|
-
hash: "",
|
|
130
128
|
state: {
|
|
131
129
|
origin: "RequestWithContentoh"
|
|
132
130
|
},
|
|
133
|
-
|
|
131
|
+
search: "",
|
|
132
|
+
hash: "",
|
|
133
|
+
key: "alvwrx"
|
|
134
134
|
},
|
|
135
135
|
user: {
|
|
136
136
|
id_user: 132,
|
|
@@ -993,6 +993,9 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
993
993
|
|
|
994
994
|
if (_isRetailer) {
|
|
995
995
|
console.log({
|
|
996
|
+
origin: origin[activeTab],
|
|
997
|
+
concept: concept,
|
|
998
|
+
orgn: orgn,
|
|
996
999
|
revision: _revision,
|
|
997
1000
|
currentService: currentService
|
|
998
1001
|
});
|
package/package.json
CHANGED
|
@@ -118,12 +118,12 @@ ProviderProductEditionDefault.args = {
|
|
|
118
118
|
},
|
|
119
119
|
location: {
|
|
120
120
|
pathname: "/products/37563/datasheet",
|
|
121
|
-
search: "",
|
|
122
|
-
hash: "",
|
|
123
121
|
state: {
|
|
124
122
|
origin: "RequestWithContentoh",
|
|
125
123
|
},
|
|
126
|
-
|
|
124
|
+
search: "",
|
|
125
|
+
hash: "",
|
|
126
|
+
key: "alvwrx",
|
|
127
127
|
},
|
|
128
128
|
user: {
|
|
129
129
|
id_user: 132,
|
|
@@ -532,7 +532,13 @@ export const ProviderProductEdition = ({
|
|
|
532
532
|
"Contentoh",
|
|
533
533
|
].includes(orgn);
|
|
534
534
|
if (isRetailer) {
|
|
535
|
-
console.log({
|
|
535
|
+
console.log({
|
|
536
|
+
origin: origin[activeTab],
|
|
537
|
+
concept,
|
|
538
|
+
orgn,
|
|
539
|
+
revision,
|
|
540
|
+
currentService,
|
|
541
|
+
});
|
|
536
542
|
if (revision && currentService === "AP") return true;
|
|
537
543
|
} else {
|
|
538
544
|
const { product } = productEdit;
|