fix success response handling of sending digest preview email

This commit is contained in:
Neil Lalonde
2016-11-24 15:05:33 -05:00
parent 6168b2c57a
commit f885e5b5e6
2 changed files with 2 additions and 1 deletions
@@ -12,6 +12,7 @@ export default Ember.Controller.extend({
const model = this.get('model');
this.set('loading', true);
this.set('sentEmail', false);
EmailPreview.findDigest(this.get('lastSeen'), this.get('username')).then(email => {
model.setProperties(email.getProperties('html_content', 'text_content'));
this.set('loading', false);