diff --git a/react/components/Preview/index.jsx b/react/components/Preview/index.jsx index 26dba168..e8c3b2f7 100644 --- a/react/components/Preview/index.jsx +++ b/react/components/Preview/index.jsx @@ -17,7 +17,11 @@ class Preview extends React.Component { this.setPreviewImageSource(newProps.file); } if (newProps.thumbnail !== this.props.thumbnail) { - this.setPreviewImageSourceFromFile(newProps.thumbnail); + if (newProps.thumbnail) { + this.setPreviewImageSourceFromFile(newProps.thumbnail); + } else { + this.setState({imgSource: this.state.defaultThumbnail}); + } } } setPreviewImageSourceFromFile (file) {