fix: profile urls

This commit is contained in:
pateljannat
2021-08-19 09:35:02 +05:30
parent 7bf254319b
commit e31b189045
10 changed files with 13 additions and 41 deletions

View File

@@ -8,7 +8,7 @@ frappe.ready(function () {
frappe.web_form.after_save = () => {
setTimeout(() => {
window.location.href = `/${frappe.web_form.get_value(["username"])}`;
window.location.href = `/user/${frappe.web_form.get_value(["username"])}`;
})
}
})