diff --git a/client/stores/UploadStore.js b/client/stores/UploadStore.js index 848ce97..07f2198 100644 --- a/client/stores/UploadStore.js +++ b/client/stores/UploadStore.js @@ -61,6 +61,9 @@ export default alt.createStore(class UploadStore { }) conn.on('close', () => { + if (this.peerProgress[peerID] < 1) { + this.peerProgress[peerID] = -1 + } this.setState({ peerProgress: this.peerProgress }) }) }