fix: show module sidebar
This commit is contained in:
parent
4528951d2d
commit
137b94a4aa
1 changed files with 2 additions and 0 deletions
|
|
@ -475,6 +475,8 @@ frappe.ui.Sidebar = class Sidebar {
|
|||
let sidebar = this.get_workspace_for_module(module);
|
||||
if (sidebars.includes(this.get_workspace_for_module(module))) {
|
||||
frappe.app.sidebar.setup(sidebar);
|
||||
} else {
|
||||
frappe.app.sidebar.setup(module);
|
||||
}
|
||||
} else if (module) {
|
||||
this.show_sidebar_for_module(module);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue