mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
Merge pull request #3349 from jaswilli/issue-3348
Fix check for using default cover image
This commit is contained in:
commit
76cbb4c94e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user