fix: profile page fixes and course completion tick
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
frappe.ready(function() {
|
||||
// bind events here
|
||||
})
|
||||
frappe.ready(function () {
|
||||
frappe.web_form.after_load = () => {
|
||||
if (!frappe.utils.get_url_arg("name")) {
|
||||
window.location.href = `/edit-profile?name=${frappe.session.user}`;
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user