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

Fixed incorrect variable name for membership offer modal

no issue

- opened modal was assigned to `this.customizeModal` but the rest of the code expected `this.offerModal` so correct closing behaviour wasn't gauranteed
This commit is contained in:
Kevin Ansfield 2021-10-05 11:09:21 +01:00
parent 0af2c464b0
commit f0f0498360

View file

@ -25,7 +25,7 @@ export default class SettingsMembershipOfferRoute extends AuthenticatedRoute {
}
activate() {
this.customizeModal = this.modals.open('modals/membership/offer', {
this.offerModal = this.modals.open('modals/membership/offer', {
saveTask: this.controllerFor('settings.membership.offer').saveTask
}, {
className: 'fullscreen-modal-wide fullscreen-modal-action fullscreen-modal-edit-offer',