fix: profile page fixes and course completion tick

This commit is contained in:
pateljannat
2021-07-15 11:16:01 +05:30
parent ec852fc255
commit 4891be1d8c
15 changed files with 598 additions and 50 deletions

View File

@@ -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}`;
}
}
})