From 2de61adb4e89fdbf728de26cd85c8a9020d4231c Mon Sep 17 00:00:00 2001 From: Lev Gorodetskiy Date: Wed, 20 Apr 2022 00:15:11 +0400 Subject: Final touches --- src/web/src/components/Search/Response.js | 7 ------- src/web/src/components/Transfers/TransferList.js | 9 +++++---- 2 files changed, 5 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/web/src/components/Search/Response.js b/src/web/src/components/Search/Response.js index 326200ce..b1b8b871 100644 --- a/src/web/src/components/Search/Response.js +++ b/src/web/src/components/Search/Response.js @@ -83,13 +83,6 @@ class Response extends Component { /> {response.username} - this.props.onHide()} - /> Upload Speed: {formatBytes(response.uploadSpeed)}/s, Free Upload Slot: {free ? 'YES' : 'NO'}, Queue Length: {response.queueLength} diff --git a/src/web/src/components/Transfers/TransferList.js b/src/web/src/components/Transfers/TransferList.js index cdb65733..9ed8832b 100644 --- a/src/web/src/components/Transfers/TransferList.js +++ b/src/web/src/components/Transfers/TransferList.js @@ -7,7 +7,7 @@ import { import { formatBytes, getFileName } from '../../lib/util'; import { - Header, + Card, Table, Icon, List, @@ -85,7 +85,7 @@ class TransferList extends Component { return (
-
@@ -94,8 +94,9 @@ class TransferList extends Component { name={isFolded ? 'chevron right' : 'chevron down'} onClick={() => this.toggleFolded()} /> - {directoryName} -
+ + {directoryName} + {!isFolded && -- cgit v1.2.3