From 69d428763e563b7f8eaa327542a72c8ce8f1d95b Mon Sep 17 00:00:00 2001 From: Luminarys Date: Sun, 12 Nov 2017 11:28:02 -0800 Subject: [PATCH] Disable file download until complete --- src/ui/torrent_details.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/ui/torrent_details.js b/src/ui/torrent_details.js index 8c0f257..2bc7f71 100644 --- a/src/ui/torrent_details.js +++ b/src/ui/torrent_details.js @@ -34,9 +34,13 @@ function File({ file }) { return ( - - {file.path} - + { + file.progress == 1.0 + ? + {file.path} + + : file.path + } {file.priority} {file.availability}