We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d91c973 commit 55192cbCopy full SHA for 55192cb
assets/src/js/frontend/dashboard/header.ts
@@ -16,7 +16,7 @@ const header = () => {
16
onSuccess: (res: AjaxResponse) => {
17
window.TutorCore.toast.success(res?.message);
18
setTimeout(() => {
19
- window.location.reload();
+ window.location.href = window._tutorobject.tutor_frontend_dashboard_url;
20
}, 1000);
21
},
22
onError: (error: Error) => {
0 commit comments