summaryrefslogtreecommitdiffstats
path: root/webapp/components/view_image.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/view_image.jsx')
-rw-r--r--webapp/components/view_image.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/view_image.jsx b/webapp/components/view_image.jsx
index 4447e9966..580c9e7a4 100644
--- a/webapp/components/view_image.jsx
+++ b/webapp/components/view_image.jsx
@@ -180,7 +180,7 @@ export default class ViewImageModal extends React.Component {
if (this.state.loaded[this.state.imgId]) {
const fileType = Utils.getFileType(fileInfo.extension);
- if (fileType === 'image') {
+ if (fileType === 'image' || fileType === 'svg') {
content = (
<ImagePreview
fileInfo={fileInfo}