Merge pull request #35314 from sokumon/sidebar-fixes
fix: dont show sidebar for setup wizard
This commit is contained in:
commit
f6521ded0b
1 changed files with 5 additions and 1 deletions
|
|
@ -81,7 +81,11 @@ frappe.views.Page = class Page {
|
|||
frappe.show_not_found(name);
|
||||
return;
|
||||
}
|
||||
this.pagedoc.module && frappe.app.sidebar.show_sidebar_for_module(this.pagedoc.module);
|
||||
if (this.pagedoc.page_name != "setup-wizard") {
|
||||
this.pagedoc.module &&
|
||||
frappe.app.sidebar.show_sidebar_for_module(this.pagedoc.module);
|
||||
}
|
||||
|
||||
this.wrapper = frappe.container.add_page(this.name);
|
||||
this.wrapper.page_name = this.pagedoc.name;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue