Skip to content

Commit

Permalink
Update AssetProxy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tech4him1 committed Jan 3, 2018
1 parent c565750 commit 868e57b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/valueObjects/AssetProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default function AssetProxy(value, fileObj, uploaded = false, asset) {
}

AssetProxy.prototype.toString = function () {
// Use the deployed image path if we do not have a locally cached copy.
if (this.uploaded && !this.fileObj) return this.public_path;
try {
return window.URL.createObjectURL(this.fileObj);
Expand Down

0 comments on commit 868e57b

Please sign in to comment.