ui: fix permanode page

This was null. Not sure why.

Change-Id: I501ab108a386832cf9f7f7d41b3c7172329f45f4
This commit is contained in:
Brad Fitzpatrick 2014-06-21 09:51:44 -07:00
parent bf3d86e471
commit 0c772ef189
1 changed files with 1 additions and 1 deletions

View File

@ -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);