0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/client/app/components/modals/transfer-owner.js
2016-01-19 07:03:27 -06:00

16 lines
343 B
JavaScript

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