Merge pull request #35314 from sokumon/sidebar-fixes

fix: dont show sidebar for setup wizard
This commit is contained in:
Soham Kulkarni 2025-12-17 21:46:48 +05:30 committed by GitHub
commit f6521ded0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;