From 023034ce4fa1130f3fa904802fc8349f1c263205 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 9 Oct 2015 16:28:51 +0100 Subject: [PATCH] Check for existence of content.size. Fixes #201. --- src/skins/vector/views/molecules/MImageTile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/skins/vector/views/molecules/MImageTile.js b/src/skins/vector/views/molecules/MImageTile.js index 34c2c576..75a76684 100644 --- a/src/skins/vector/views/molecules/MImageTile.js +++ b/src/skins/vector/views/molecules/MImageTile.js @@ -83,7 +83,7 @@ module.exports = React.createClass({
- Download {content.body} ({ filesize(content.info.size) }) + Download {content.body} ({ content.info && content.info.size ? filesize(content.info.size) : "Unknwon size" })