eleven-solutions-common-website-unique-web 4.0.19 → 4.0.20
Sign up to get free protection for your applications and to get access to all the features.
@@ -158,7 +158,7 @@ const TaxonomyForm = () => {
|
|
158
158
|
alert("Please fill in all required fields: Code, and Value.");
|
159
159
|
return;
|
160
160
|
}
|
161
|
-
const newTaxonomyItem = { type:
|
161
|
+
const newTaxonomyItem = { type: type, code: newCode, value: newValue };
|
162
162
|
if (editTempTaxonomyItem) {
|
163
163
|
const updatedTempTaxonomy = tempTaxonomy.map((item) => item === editTempTaxonomyItem ? newTaxonomyItem : item);
|
164
164
|
setTempTaxonomy(updatedTempTaxonomy);
|
package/package.json
CHANGED
@@ -194,7 +194,7 @@ const TaxonomyForm = () => {
|
|
194
194
|
return;
|
195
195
|
}
|
196
196
|
|
197
|
-
const newTaxonomyItem = { type:
|
197
|
+
const newTaxonomyItem = { type: type, code: newCode, value: newValue };
|
198
198
|
|
199
199
|
if (editTempTaxonomyItem) {
|
200
200
|
const updatedTempTaxonomy = tempTaxonomy.map((item) =>
|