eleven-solutions-common-website-unique-web 4.0.19 → 4.0.21

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: inputType, code: newCode, value: newValue };
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "4.0.19",
3
+ "version": "4.0.21",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -194,7 +194,7 @@ const TaxonomyForm = () => {
194
194
  return;
195
195
  }
196
196
 
197
- const newTaxonomyItem = { type: inputType, code: newCode, value: newValue };
197
+ const newTaxonomyItem = { type: type, code: newCode, value: newValue };
198
198
 
199
199
  if (editTempTaxonomyItem) {
200
200
  const updatedTempTaxonomy = tempTaxonomy.map((item) =>