From 4dcd0474d58bbcbea742948a03d3f26103f3933b Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 29 Nov 2016 20:35:19 +0100 Subject: Show mimeicon when versions don't have a preview Fixes #2413 Signed-off-by: Roeland Jago Douma --- apps/files_versions/js/versioncollection.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files_versions/js/versioncollection.js') diff --git a/apps/files_versions/js/versioncollection.js b/apps/files_versions/js/versioncollection.js index fdb12bae0a9..24a4ba7fc62 100644 --- a/apps/files_versions/js/versioncollection.js +++ b/apps/files_versions/js/versioncollection.js @@ -81,7 +81,8 @@ name: version.name, fullPath: fullPath, timestamp: revision, - size: version.size + size: version.size, + mimetype: version.mimetype }; }); this._endReached = result.data.endReached; -- cgit v1.2.3