mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 04:10:33 +03:00
16 lines
537 B
JavaScript
16 lines
537 B
JavaScript
|
import ModalBase from 'ghost-admin/components/modal-base';
|
||
|
import classic from 'ember-classic-decorator';
|
||
|
import {action} from '@ember/object';
|
||
|
import {inject as service} from '@ember/service';
|
||
|
|
||
|
// TODO: update modals to work fully with Glimmer components
|
||
|
@classic
|
||
|
export default class ModalStripeConnect extends ModalBase {
|
||
|
@service settings;
|
||
|
|
||
|
@action
|
||
|
setStripeConnectIntegrationTokenSetting(stripeConnectIntegrationToken) {
|
||
|
this.settings.set('stripeConnectIntegrationToken', stripeConnectIntegrationToken);
|
||
|
}
|
||
|
}
|