fix: dashboard shortcut route on workspace
This commit is contained in:
parent
8254ef96f3
commit
05fdd6d0da
1 changed files with 2 additions and 2 deletions
|
|
@ -708,7 +708,7 @@ Object.assign(frappe.utils, {
|
|||
title = frappe._title_prefix + " " + title.replace(/<[^>]*>/g, "");
|
||||
}
|
||||
document.title = title;
|
||||
|
||||
|
||||
// save for re-routing
|
||||
const sub_path = frappe.router.get_sub_path();
|
||||
frappe.route_titles[sub_path] = title;
|
||||
|
|
@ -1172,7 +1172,7 @@ Object.assign(frappe.utils, {
|
|||
} else if (type === "page") {
|
||||
route = item.name;
|
||||
} else if (type === "dashboard") {
|
||||
route = "dashboard/" + item.name;
|
||||
route = `dashboard-view/${item.name}`;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue