eleven-solutions-common-website-unique-web 4.0.16 → 4.0.17
Sign up to get free protection for your applications and to get access to all the features.
@@ -94,8 +94,12 @@ const TaxonomyForm = () => {
|
|
94
94
|
yield addTaxonomyApi(inputType, Number(code), value);
|
95
95
|
alert("Taxonomy added successfully");
|
96
96
|
}
|
97
|
+
// window.history.pushState({}, "", "/admin/taxinomies");
|
98
|
+
// window.dispatchEvent(new PopStateEvent("popstate"));
|
99
|
+
console.log("Navigating to /admin/taxinomies");
|
97
100
|
window.history.pushState({}, "", "/admin/taxinomies");
|
98
101
|
window.dispatchEvent(new PopStateEvent("popstate"));
|
102
|
+
console.log("Navigation event dispatched");
|
99
103
|
}
|
100
104
|
catch (error) {
|
101
105
|
console.error("Error adding/updating Taxonomy:", error);
|
package/package.json
CHANGED
@@ -125,8 +125,12 @@ const TaxonomyForm = () => {
|
|
125
125
|
await addTaxonomyApi(inputType, Number(code), value);
|
126
126
|
alert("Taxonomy added successfully");
|
127
127
|
}
|
128
|
+
// window.history.pushState({}, "", "/admin/taxinomies");
|
129
|
+
// window.dispatchEvent(new PopStateEvent("popstate"));
|
130
|
+
console.log("Navigating to /admin/taxinomies");
|
128
131
|
window.history.pushState({}, "", "/admin/taxinomies");
|
129
132
|
window.dispatchEvent(new PopStateEvent("popstate"));
|
133
|
+
console.log("Navigation event dispatched");
|
130
134
|
} catch (error) {
|
131
135
|
console.error("Error adding/updating Taxonomy:", error);
|
132
136
|
alert("Failed to add/update Taxonomy");
|