0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/client/app/components/modals/transfer-owner.js

17 lines
344 B
JavaScript
Raw Normal View History

import ModalComponent from 'ghost/components/modals/base';
export default ModalComponent.extend({
user: null,
submitting: false,
actions: {
confirm() {
this.set('submitting', true);
this.get('confirm')().finally(() => {
this.send('closeModal');
});
}
}
});