Merge pull request #38738 from sokumon/sidebar-history
This commit is contained in:
commit
ec3922e903
1 changed files with 1 additions and 1 deletions
|
|
@ -657,7 +657,7 @@ frappe.ui.Sidebar = class Sidebar {
|
|||
this.set_active_workspace_item();
|
||||
return;
|
||||
}
|
||||
if (sidebar_item_map[entity_name]) {
|
||||
if (sidebar_item_map && sidebar_item_map[entity_name]) {
|
||||
this.setup(sidebar_item_map[entity_name][0]);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue