diff --git a/web/src/components/DialogTorrentInfo.js b/web/src/components/DialogTorrentInfo.js index bb05503..9fa9e51 100644 --- a/web/src/components/DialogTorrentInfo.js +++ b/web/src/components/DialogTorrentInfo.js @@ -60,8 +60,8 @@ export default function DialogTorrentInfo(props) { - {torrent.file_stats && - torrent.file_stats.map((file) => ( + {getPlayableFile(torrent) && + getPlayableFile(torrent).map((file) => (