Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Commit

Permalink
fix(Gallery): no thumbnails when files are dropped
Browse files Browse the repository at this point in the history
fixes #130
  • Loading branch information
peterdivvito authored and rnicholus committed Aug 30, 2017
1 parent 3c90a5c commit a43316e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gallery/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Gallery extends Component {
this._onStatusChange = (id, oldStatus, status) => {
const visibleFiles = this.state.visibleFiles

if (status === statusEnum.SUBMITTING) {
if (status === statusEnum.SUBMITTED) {
visibleFiles.push({ id })
this.setState({ visibleFiles })
}
Expand Down

0 comments on commit a43316e

Please sign in to comment.