eleven-solutions-common-website-unique-web 9.0.53 → 9.0.54
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.
|
@@ -152,7 +152,8 @@ const TaxonomyForm = () => {
|
|
|
152
152
|
yield addTaxonomyApi(inputType, Number(code), value);
|
|
153
153
|
alert("Taxonomy added successfully");
|
|
154
154
|
}
|
|
155
|
-
window.location.href = "/admin/taxinomies";
|
|
155
|
+
// window.location.href = "/admin/taxinomies";
|
|
156
|
+
window.history.pushState({}, "", "/admin/taxinomies");
|
|
156
157
|
}
|
|
157
158
|
catch (error) {
|
|
158
159
|
console.error("Error adding/updating Taxonomy:", error);
|
package/package.json
CHANGED
|
@@ -188,7 +188,8 @@ const TaxonomyForm = () => {
|
|
|
188
188
|
await addTaxonomyApi(inputType, Number(code), value);
|
|
189
189
|
alert("Taxonomy added successfully");
|
|
190
190
|
}
|
|
191
|
-
window.location.href = "/admin/taxinomies";
|
|
191
|
+
// window.location.href = "/admin/taxinomies";
|
|
192
|
+
window.history.pushState({}, "", "/admin/taxinomies");
|
|
192
193
|
} catch (error) {
|
|
193
194
|
console.error("Error adding/updating Taxonomy:", error);
|
|
194
195
|
alert("Failed to add/update Taxonomy");
|