diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-29 20:35:19 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-29 20:35:57 +0100 |
commit | 4dcd0474d58bbcbea742948a03d3f26103f3933b (patch) | |
tree | e5e4f4b171f4f95509bfe7452f0d370d51631c64 /apps/files_versions/js/versioncollection.js | |
parent | 8d81b9e6eb9f27b8b95f17b86bd3b1bdfddc122d (diff) | |
download | nextcloud-server-4dcd0474d58bbcbea742948a03d3f26103f3933b.tar.gz nextcloud-server-4dcd0474d58bbcbea742948a03d3f26103f3933b.zip |
Show mimeicon when versions don't have a preview
Fixes #2413
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_versions/js/versioncollection.js')
-rw-r--r-- | apps/files_versions/js/versioncollection.js | 3 |
1 files changed, 2 insertions, 1 deletions
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; |