mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
f22a758a3b
refs https://github.com/TryGhost/Admin/pull/2238 Follow up to #2238, this should remove the existing no-implicit-this lint errors and any new violations should be flagged right away. * run the no-implicit-this codemod * updated todos
7 lines
425 B
Handlebars
7 lines
425 B
Handlebars
<nav class="gh-nav {{if this.ui.contextualNavMenu "gh-nav-contextual"}} {{if this.session.user.isContributor "gh-nav-contributor"}}" {{did-insert this.updateFirstRender}} ...attributes>
|
|
{{#if this.ui.contextualNavMenu}}
|
|
{{component (concat "gh-nav-menu/" this.ui.contextualNavMenu)}}
|
|
{{else}}
|
|
<GhNavMenu::Main @icon={{this.settings.settledIcon}} @firstRender={{this.firstRender}} />
|
|
{{/if}}
|
|
</nav> |