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

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.
@@ -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.20",
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) =>