0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/client/app/mixins/settings-save.js

18 lines
301 B
JavaScript
Raw Normal View History

import Ember from 'ember';
const {Mixin} = Ember;
export default Mixin.create({
submitting: false,
actions: {
save() {
this.set('submitting', true);
this.save().then(() => {
this.set('submitting', false);
});
}
}
});