From a43316e0906e43f3ba1e36f88a68b4df8243bb32 Mon Sep 17 00:00:00 2001 From: peterdivvito Date: Wed, 30 Aug 2017 13:55:17 +1000 Subject: [PATCH] fix(Gallery): no thumbnails when files are dropped fixes #130 --- src/gallery/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallery/index.jsx b/src/gallery/index.jsx index 199508f..fa9cd1d 100644 --- a/src/gallery/index.jsx +++ b/src/gallery/index.jsx @@ -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 }) }