diff --git a/src/ui/torrent_details.js b/src/ui/torrent_details.js index 3864f33..940f269 100644 --- a/src/ui/torrent_details.js +++ b/src/ui/torrent_details.js @@ -53,7 +53,7 @@ class File extends Component { color={file.progress != 1.0 ? "success" : "primary"} > {file.progress === 1.0 ? - "done" : `${(file.progress * 100).toFixed(0)}%`} + "done" : `${Math.floor(file.progress * 100)}%`}