0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed toolbar showing when block cards are in edit mode

This commit is contained in:
Kevin Ansfield 2020-10-27 18:23:56 +00:00
parent ad2d6bcf52
commit 8f91bb2083

View file

@ -19,7 +19,7 @@
)
)}}
{{#if (or this.toolbar this.saveAsSnippet)}}
{{#if (or this.toolbar (and this.saveAsSnippet (not this.isEditing)))}}
<KgActionBar @class="absolute" @style={{this.toolbarStyle}} @isVisible={{this.shouldShowToolbar}} @instantClose={{this.koenigUi.inputHasFocus}}>
{{#each this.toolbar.items as |item|}}
{{#if item.divider}}
@ -38,7 +38,7 @@
{{/if}}
{{/each}}
{{#if this.saveAsSnippet}}
{{#if (and this.saveAsSnippet (not this.isEditing))}}
{{#if this.toolbar.items}}
<li class="ma0 lh-solid kg-action-bar-divider bg-darkgrey-l2 h5" role="separator"></li>
{{/if}}