eleven-solutions-common-website-unique-web 21.0.44 → 21.0.46

Sign up to get free protection for your applications and to get access to all the features.
@@ -173,7 +173,6 @@ const TaxonomyForm = ({ url }) => {
173
173
  console.error(`Error ${editTaxonomyItem ? "editing" : "adding"} SubType:`, error);
174
174
  const errorMessage = ((_a = error.response) === null || _a === void 0 ? void 0 : _a.data) || ((_b = error.response) === null || _b === void 0 ? void 0 : _b.statusText) || error.message;
175
175
  alert(`Error while ${editTaxonomyItem ? "editing" : "adding"} SubType: ${errorMessage}`);
176
- setIsModalOpen(false);
177
176
  setNewCode("");
178
177
  setNewValue("");
179
178
  }
@@ -212,7 +211,6 @@ const TaxonomyForm = ({ url }) => {
212
211
  console.error(editTaxonomyItem ? "Error updating Taxonomy:" : "Error adding value:", error);
213
212
  const errorMessage = ((_a = error.response) === null || _a === void 0 ? void 0 : _a.data) || ((_b = error.response) === null || _b === void 0 ? void 0 : _b.statusText) || error.message;
214
213
  alert(`Error while ${editTaxonomyItem ? "editing" : "adding"} SubType: ${errorMessage}`);
215
- setIsModalOpen(false);
216
214
  setNewCode("");
217
215
  setNewValue("");
218
216
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "21.0.44",
3
+ "version": "21.0.46",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -235,7 +235,6 @@ const TaxonomyForm = ({ url }: TaxionomyFormProps) => {
235
235
  editTaxonomyItem ? "editing" : "adding"
236
236
  } SubType: ${errorMessage}`
237
237
  );
238
- setIsModalOpen(false);
239
238
  setNewCode("");
240
239
  setNewValue("");
241
240
  }
@@ -298,7 +297,6 @@ const TaxonomyForm = ({ url }: TaxionomyFormProps) => {
298
297
  editTaxonomyItem ? "editing" : "adding"
299
298
  } SubType: ${errorMessage}`
300
299
  );
301
- setIsModalOpen(false);
302
300
  setNewCode("");
303
301
  setNewValue("");
304
302
  }