Ghost/ghost/admin/app/components/gh-fullscreen-modal.hbs
Kevin Ansfield 7b593e5df0 Fixed modal confirm actions
refs 2527a856ce

- typo `confirm/config` in previous commit that refactored fullscreen modal template
2021-02-02 16:08:04 +00:00

17 lines
559 B
Handlebars

<LiquidWormhole @class="fullscreen-modal-container">
<div class="fullscreen-modal-background" {{action "clickOverlay"}}></div>
<div class={{this.modalClasses}}>
{{#if hasBlock}}
{{yield}}
{{else}}
{{#let (component this.modalPath) as |ModalComponent|}}
<ModalComponent
@model={{this.model}}
@confirm={{action "confirm"}}
@closeModal={{action "close"}}
/>
{{/let}}
{{/if}}
</div>
</LiquidWormhole>