Skip to content

Commit

Permalink
Fix src property
Browse files Browse the repository at this point in the history
  • Loading branch information
Exelord committed Feb 26, 2017
1 parent 24500d8 commit 2324054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default Ember.Mixin.create({
this._super(...arguments);

if (Ember.typeOf(this.get('src')) === 'undefined') {
this.set('src', this.createInitials());
this.set('src', Ember.computed(function() { return this.createInitials(); }));
}
},

Expand Down

0 comments on commit 2324054

Please sign in to comment.