eleven-solutions-common-website-unique-web 19.0.11 → 19.0.13
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.
@@ -258,10 +258,10 @@ const TaxonomyForm = ({ url }) => {
|
|
258
258
|
setSimilarTaxonomies(filteredTaxonomies);
|
259
259
|
});
|
260
260
|
const handleSaveClick = () => __awaiter(void 0, void 0, void 0, function* () {
|
261
|
-
if (tempTaxonomy.length === 0) {
|
262
|
-
|
263
|
-
|
264
|
-
}
|
261
|
+
// if (tempTaxonomy.length === 0) {
|
262
|
+
// alert("No taxonomies to add.");
|
263
|
+
// return;
|
264
|
+
// }
|
265
265
|
try {
|
266
266
|
yield addMultipleTaxonomiesApi(url, tempTaxonomy);
|
267
267
|
setTempTaxonomy([]);
|
package/package.json
CHANGED
@@ -341,10 +341,10 @@ const TaxonomyForm = ({ url }: TaxionomyFormProps) => {
|
|
341
341
|
};
|
342
342
|
|
343
343
|
const handleSaveClick = async () => {
|
344
|
-
if (tempTaxonomy.length === 0) {
|
345
|
-
|
346
|
-
|
347
|
-
}
|
344
|
+
// if (tempTaxonomy.length === 0) {
|
345
|
+
// alert("No taxonomies to add.");
|
346
|
+
// return;
|
347
|
+
// }
|
348
348
|
try {
|
349
349
|
await addMultipleTaxonomiesApi(url, tempTaxonomy);
|
350
350
|
setTempTaxonomy([]);
|