mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
3ab0a52f62
no issue - updated `<GhFullscreenModal>` to pass `@modifier` and `@updateModifier` through to child modal components so they can adjust their own classes - added an `updateSuccessModifier()` action to `<ModalStripeConnect>` to set the modal size when first opening and on `@onConnected/Disconnected` actions passed to the `<GhMembersPaymentsSetting>` component - updated `<GhMembersPaymentsSetting>` to call passed in `onConnected/Disconnected` actions when connection or disconnection is finalised
19 lines
677 B
Handlebars
19 lines
677 B
Handlebars
<LiquidWormhole @class="fullscreen-modal-container">
|
|
<div class="fullscreen-modal-background" {{action "clickOverlay"}}></div>
|
|
<div class={{this.modalClasses}}>
|
|
{{#if (has-block)}}
|
|
{{yield}}
|
|
{{else}}
|
|
{{#let (component this.modalPath) as |ModalComponent|}}
|
|
<ModalComponent
|
|
@model={{this.model}}
|
|
@confirm={{action "confirm"}}
|
|
@closeModal={{action "close"}}
|
|
@modifier={{this.modifier}}
|
|
@updateModifier={{action (mut this.modifier)}}
|
|
/>
|
|
{{/let}}
|
|
{{/if}}
|
|
</div>
|
|
</LiquidWormhole>
|