mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-10 19:29:56 +00:00
rm ENABLE_THUMBNAIL
This commit is contained in:
@@ -55,7 +55,7 @@ class FileContent extends React.Component {
|
||||
// only for 'file view'. not for 'history/trash file view'
|
||||
let thumbnailURL = '';
|
||||
const fileExtList = ['tif', 'tiff', 'psd'];
|
||||
if (this.props.canUseThumbnail && !repoEncrypted && fileExtList.includes(fileExt)) {
|
||||
if (!repoEncrypted && fileExtList.includes(fileExt)) {
|
||||
thumbnailURL = `${siteRoot}thumbnail/${repoID}/${thumbnailSizeForOriginal}${Utils.encodePath(filePath)}`;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user