diff --git a/src/scripts/controllers/task-detail.js b/src/scripts/controllers/task-detail.js index dbcc879..7916324 100644 --- a/src/scripts/controllers/task-detail.js +++ b/src/scripts/controllers/task-detail.js @@ -32,7 +32,7 @@ var task = response.task; - if (!task.bittorrent) { + if (task.status != 'active' || !task.bittorrent) { if (tabOrders.indexOf('btpeers') >= 0) { tabOrders.splice(tabOrders.indexOf('btpeers'), 1); }