mirror of https://github.com/perkeep/perkeep.git
ui: fix permanode page
This was null. Not sure why. Change-Id: I501ab108a386832cf9f7f7d41b3c7172329f45f4
This commit is contained in:
parent
bf3d86e471
commit
0c772ef189
|
@ -60,7 +60,7 @@ cam.BlobItem.prototype.update = function(blobRef, metaBag, opt_contentLink) {
|
|||
this.metaData_ = this.metaBag_[this.blobRef_];
|
||||
this.resolvedMetaData_ = cam.BlobItem.resolve(this.blobRef_, this.metaBag_);
|
||||
|
||||
if (this.resolvedMetaData_.image) {
|
||||
if (this.resolvedMetaData_ && this.resolvedMetaData_.image) {
|
||||
this.thumber_ = cam.Thumber.fromImageMeta(this.resolvedMetaData_);
|
||||
} else {
|
||||
this.thumber_ = new cam.Thumber(this.metaData_.thumbnailSrc);
|
||||
|
|
Loading…
Reference in New Issue