Merge pull request #3349 from jaswilli/issue-3348

Fix check for using default cover image
This commit is contained in:
Hannah Wolfe 2014-07-21 20:31:11 +01:00
commit 76cbb4c94e

View File

@ -14,7 +14,7 @@ var SettingsUserController = Ember.ObjectController.extend({
cover: function () {
var cover = this.get('user.cover');
if (typeof cover !== 'string') {
if (Ember.isBlank(cover)) {
cover = this.get('coverDefault');
}
return cover;