0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Show the mobile nav only when logged in

closes https://github.com/TryGhost/Team/issues/3134

- the mobile nav was showing for 404 pages when not logged in
- this adds an additional check, so that the nav is only shown when user is logged in, not only when the user is not contributor
This commit is contained in:
Sodbileg Gansukh 2023-06-01 15:23:31 +08:00
parent c0b3aab4f2
commit 116e09af95

View file

@ -30,9 +30,11 @@
<GhContentCover />
{{#unless this.session.user.isContributor}}
<GhMobileNavBar />
{{/unless}}
{{#if this.session.user}}
{{#unless this.session.user.isContributor}}
<GhMobileNavBar />
{{/unless}}
{{/if}}
</div>
{{#if this.settings.accentColor}}