mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
b71babfc51
no issue - bumped `ember-source`, `ember-data`, and `ember-cli` to latest 3.22.x versions - fixed errors caused by updating properties inside of a render - `<GhPublishMenu>` removed insta-call of `@setSaveType` when rendering sub-components in favour of pre-setting the default `@saveType` value when the underlying post status changes - updated `<GhNavMenu>` to use the run-loop to update the `firstRender` property once rendering has finished rather than mid-render
7 lines
360 B
Handlebars
7 lines
360 B
Handlebars
<nav class="gh-nav {{if this.ui.contextualNavMenu "gh-nav-contextual"}}" {{did-insert this.updateFirstRender}} ...attributes>
|
|
{{#if this.ui.contextualNavMenu}}
|
|
{{component (concat "gh-nav-menu/" ui.contextualNavMenu)}}
|
|
{{else}}
|
|
<GhNavMenu::Main @icon={{this.settings.settledIcon}} @firstRender={{this.firstRender}} />
|
|
{{/if}}
|
|
</nav> |