From 0a11e177a86cacd33457907d8701220c060cb15a Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 8 Feb 2019 10:36:01 -0800 Subject: [PATCH] Adding a clickable link for the name. --- server/ui/src/components/search.tsx | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/server/ui/src/components/search.tsx b/server/ui/src/components/search.tsx index e59a9e1..0f8a872 100644 --- a/server/ui/src/components/search.tsx +++ b/server/ui/src/components/search.tsx @@ -124,11 +124,21 @@ export class Search extends Component { {this.state.results.torrents.map(torrent => ( { !torrent.name ? ( - {getFileName(torrent.path)} + + + {getFileName(torrent.path)} + + ) : ( - {torrent.name} + + + {torrent.name} + + )} - {humanFileSize(torrent.size_bytes, true)} + {humanFileSize(torrent.size_bytes, true)} {torrent.seeders} {torrent.leechers} {