fix(utils): update route assignment for external desktop icons
This commit is contained in:
parent
cfb5ee0dbc
commit
8776fbe409
1 changed files with 1 additions and 1 deletions
|
|
@ -1310,7 +1310,7 @@ Object.assign(frappe.utils, {
|
|||
if (!desktop_icon) return;
|
||||
let item = {};
|
||||
if (desktop_icon.link_type == "External" && desktop_icon.link) {
|
||||
route = window.location.origin + desktop_icon.link;
|
||||
route = desktop_icon.link;
|
||||
} else {
|
||||
let sidebar = frappe.boot.workspace_sidebar_item[desktop_icon.label.toLowerCase()];
|
||||
if (desktop_icon.link_type == "Workspace Sidebar" && sidebar) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue