eleven-solutions-common-website-unique-web 6.0.53 → 6.0.54
Sign up to get free protection for your applications and to get access to all the features.
@@ -251,17 +251,6 @@ const TaxonomyForm = () => {
|
|
251
251
|
setSubCode("");
|
252
252
|
setSubValue("");
|
253
253
|
});
|
254
|
-
// const handleSubEdit = (index: number, id: string) => {
|
255
|
-
// setIsAddingSubType(false);
|
256
|
-
// const item = similarTaxonomies[index];
|
257
|
-
// setSelectedTaxonomyId(id);
|
258
|
-
// setEditTaxonomyItem(item);
|
259
|
-
// setSubType(item.type);
|
260
|
-
// setSubCode(item.code);
|
261
|
-
// setSubValue(item.value);
|
262
|
-
// setIsModalOpen(true);
|
263
|
-
// setIsAddingSubType(true);
|
264
|
-
// };
|
265
254
|
const handleSubEdit = (child) => {
|
266
255
|
setIsAddingSubType(false);
|
267
256
|
setSelectedTaxonomyId(child.id);
|
@@ -270,7 +259,7 @@ const TaxonomyForm = () => {
|
|
270
259
|
setSubCode(child.code);
|
271
260
|
setSubValue(child.value);
|
272
261
|
setIsModalOpen(true);
|
273
|
-
setIsAddingSubType(true);
|
262
|
+
// setIsAddingSubType(true);
|
274
263
|
};
|
275
264
|
const handleEditTaxClick = () => __awaiter(void 0, void 0, void 0, function* () {
|
276
265
|
try {
|
package/package.json
CHANGED
@@ -308,20 +308,6 @@ const TaxonomyForm = () => {
|
|
308
308
|
setSubValue("");
|
309
309
|
};
|
310
310
|
|
311
|
-
// const handleSubEdit = (index: number, id: string) => {
|
312
|
-
// setIsAddingSubType(false);
|
313
|
-
|
314
|
-
// const item = similarTaxonomies[index];
|
315
|
-
// setSelectedTaxonomyId(id);
|
316
|
-
|
317
|
-
// setEditTaxonomyItem(item);
|
318
|
-
// setSubType(item.type);
|
319
|
-
// setSubCode(item.code);
|
320
|
-
// setSubValue(item.value);
|
321
|
-
// setIsModalOpen(true);
|
322
|
-
// setIsAddingSubType(true);
|
323
|
-
// };
|
324
|
-
|
325
311
|
const handleSubEdit = (child: {
|
326
312
|
id: string;
|
327
313
|
type: string;
|
@@ -336,7 +322,7 @@ const TaxonomyForm = () => {
|
|
336
322
|
setSubCode(child.code);
|
337
323
|
setSubValue(child.value);
|
338
324
|
setIsModalOpen(true);
|
339
|
-
setIsAddingSubType(true);
|
325
|
+
// setIsAddingSubType(true);
|
340
326
|
};
|
341
327
|
|
342
328
|
const handleEditTaxClick = async () => {
|