Merge pull request #36186 from ljain112/fix-desktop-icon-awesomebar

This commit is contained in:
Soham Kulkarni 2026-01-21 20:59:54 +05:30 committed by GitHub
commit c988975c06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {