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:
parent
ad2d6bcf52
commit
8f91bb2083
1 changed files with 2 additions and 2 deletions
|
@ -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}}
|
||||
|
|
Loading…
Add table
Reference in a new issue