mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #6764 from overleaf/msm-fix-toggle-marketing-navbar
Fix collapsed menu toggling in marketing pages GitOrigin-RevId: f1075d46242ad6265ebaa0e65031e99f902fe503
This commit is contained in:
parent
f23cc433a4
commit
41475ca14a
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ nav.navbar.navbar-default.navbar-main
|
||||||
|
|
||||||
- var canDisplayAdminMenu = getSessionUser() && getSessionUser().isAdmin
|
- var canDisplayAdminMenu = getSessionUser() && getSessionUser().isAdmin
|
||||||
- var canDisplaySplitTestMenu = hasFeature('saas') && (canDisplayAdminMenu || (getSessionUser() && getSessionUser().staffAccess && (getSessionUser().staffAccess.splitTestMetrics || getSessionUser().staffAccess.splitTestManagement)))
|
- var canDisplaySplitTestMenu = hasFeature('saas') && (canDisplayAdminMenu || (getSessionUser() && getSessionUser().staffAccess && (getSessionUser().staffAccess.splitTestMetrics || getSessionUser().staffAccess.splitTestManagement)))
|
||||||
.navbar-collapse.collapse(collapse="navCollapsed")
|
.navbar-collapse.collapse(data-ol-navbar-main-collapse)
|
||||||
ul.nav.navbar-nav.navbar-right
|
ul.nav.navbar-nav.navbar-right
|
||||||
if (canDisplayAdminMenu || canDisplaySplitTestMenu)
|
if (canDisplayAdminMenu || canDisplaySplitTestMenu)
|
||||||
li.dropdown.subdued
|
li.dropdown.subdued
|
||||||
|
|
Loading…
Reference in a new issue