From 38fdcd1e1b7e1b709e8a52068b51d872e3c2ee7a Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Thu, 16 Feb 2017 00:19:10 -0500 Subject: [PATCH] Watch: correct status check logic --- js/page/watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/page/watch.js b/js/page/watch.js index 24bc1524c..e9b3a9185 100644 --- a/js/page/watch.js +++ b/js/page/watch.js @@ -20,7 +20,7 @@ var WatchPage = React.createClass({ }, updateLoadStatus: function() { lbry.getFileStatus(this.props.name, (status) => { - if (!status || ['running', 'stopped'].includes(status.code) || status.written_bytes == 0) { + if (!status || !['running', 'stopped'].includes(status.code) || status.written_bytes == 0) { // Download hasn't started yet, so update status message (if available) then try again if (status) { this.setState({