summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js/versioncollection.js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-11-29 20:35:19 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-29 20:35:57 +0100
commit4dcd0474d58bbcbea742948a03d3f26103f3933b (patch)
treee5e4f4b171f4f95509bfe7452f0d370d51631c64 /apps/files_versions/js/versioncollection.js
parent8d81b9e6eb9f27b8b95f17b86bd3b1bdfddc122d (diff)
downloadnextcloud-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.js3
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;