FIX: email preview
This commit is contained in:
parent
c74a6ab555
commit
90388aa18e
|
@ -4,7 +4,7 @@ export default Ember.Controller.extend({
|
|||
refresh() {
|
||||
const model = this.get('model');
|
||||
|
||||
self.set('loading', true);
|
||||
this.set('loading', true);
|
||||
Discourse.EmailPreview.findDigest(this.get('lastSeen')).then(email => {
|
||||
model.setProperties(email.getProperties('html_content', 'text_content'));
|
||||
this.set('loading', false);
|
||||
|
|
Loading…
Reference in New Issue