mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 01:04:33 +08:00
UX: Hide hamburger dropdown when enable_sidebar
query param is used (#20367)
This commit is contained in:

committed by
GitHub

parent
f91631b625
commit
d71a82786a
@ -339,11 +339,7 @@ createWidget("header-icons", {
|
||||
},
|
||||
});
|
||||
|
||||
if (
|
||||
this.siteSettings.navigation_menu === "legacy" ||
|
||||
!attrs.sidebarEnabled ||
|
||||
this.site.mobileView
|
||||
) {
|
||||
if (!attrs.sidebarEnabled || this.site.mobileView) {
|
||||
icons.push(hamburger);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user