mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +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 () {
|
cover: function () {
|
||||||
var cover = this.get('user.cover');
|
var cover = this.get('user.cover');
|
||||||
if (typeof cover !== 'string') {
|
if (Ember.isBlank(cover)) {
|
||||||
cover = this.get('coverDefault');
|
cover = this.get('coverDefault');
|
||||||
}
|
}
|
||||||
return cover;
|
return cover;
|
||||||
|
Loading…
Reference in New Issue
Block a user