Merge pull request #18836 from shariquerik/breadcrumb-fix
This commit is contained in:
commit
72bdecb65e
1 changed files with 1 additions and 2 deletions
|
|
@ -131,9 +131,8 @@ frappe.breadcrumbs = {
|
|||
}
|
||||
},
|
||||
|
||||
async set_list_breadcrumb(breadcrumbs) {
|
||||
set_list_breadcrumb(breadcrumbs) {
|
||||
const doctype = breadcrumbs.doctype;
|
||||
await frappe.model.with_doctype(doctype);
|
||||
const doctype_meta = frappe.get_doc("DocType", doctype);
|
||||
if (
|
||||
(doctype === "User" && !frappe.user.has_role("System Manager")) ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue