diff options
Diffstat (limited to 'webapp/components/file_preview.jsx')
-rw-r--r-- | webapp/components/file_preview.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/file_preview.jsx b/webapp/components/file_preview.jsx index 624bfaf44..1e747b372 100644 --- a/webapp/components/file_preview.jsx +++ b/webapp/components/file_preview.jsx @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. +// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. import FileStore from 'stores/file_store.jsx'; @@ -33,7 +33,7 @@ export default class FilePreview extends React.Component { let className = 'file-preview'; let previewImage; - if (type === 'image') { + if (type === 'image' || type === 'svg') { previewImage = ( <img className='file-preview__image' |