fix: default app logo to frappe if app not found
This commit is contained in:
parent
b9e204bbbf
commit
481fbb78dc
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ frappe.ui.Sidebar = class Sidebar {
|
|||
console.warn("set_current_app: app not defined");
|
||||
return;
|
||||
}
|
||||
let app_data = frappe.boot.app_data_map[app];
|
||||
let app_data = frappe.boot.app_data_map[app] || frappe.boot.app_data_map["frappe"];
|
||||
|
||||
this.wrapper
|
||||
.find(".app-switcher-dropdown .sidebar-item-icon img")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue