aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/Search/Response.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/web/src/components/Search/Response.js b/src/web/src/components/Search/Response.js
index 8d134047..7ffb70d4 100644
--- a/src/web/src/components/Search/Response.js
+++ b/src/web/src/components/Search/Response.js
@@ -86,6 +86,13 @@ class Response extends Component {
/>
<Icon name='circle' color={free ? 'green' : 'yellow'}/>
{response.username}
+ <Icon
+ className='close-button'
+ name='close'
+ color='red'
+ link
+ onClick={() => this.props.onHide()}
+ />
</Card.Header>
<Card.Meta className='result-meta'>
<span>Upload Speed: {formatBytes(response.uploadSpeed)}/s, Free Upload Slot: {free ? 'YES' : 'NO'}, Queue Length: {response.queueLength}</span>