fix: dashboard view from workspace
This commit is contained in:
parent
afe992f1e6
commit
9a7e59e811
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ frappe.breadcrumbs = {
|
|||
return localStorage["preferred_breadcrumbs:" + doctype];
|
||||
},
|
||||
|
||||
add(module, doctype, type) {
|
||||
async add(module, doctype, type) {
|
||||
let obj;
|
||||
if (typeof module === "object") {
|
||||
obj = module;
|
||||
|
|
@ -40,7 +40,7 @@ frappe.breadcrumbs = {
|
|||
type: type,
|
||||
};
|
||||
}
|
||||
|
||||
await frappe.model.with_doctype(doctype);
|
||||
this.all[frappe.breadcrumbs.current_page()] = obj;
|
||||
this.update();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue