увеличена скорость получание информации о размерах

This commit is contained in:
Alexey Kasyanchuk
2017-01-03 06:14:23 +03:00
parent c13534fe68
commit d8239466ce
4 changed files with 63 additions and 10 deletions

View File

@ -73,6 +73,9 @@ export default class RecentTorrents extends Component {
});
}
render() {
if(!this.torrents || this.torrents.length == 0)
return null;
return (
<List className='animated'>
<Subheader inset={true}>Most recent torrents</Subheader>
@ -82,7 +85,7 @@ export default class RecentTorrents extends Component {
return <TorrentLine key={index} torrent={torrent} />;
})
}
</List>
</List>
);
}
}