diff --git a/src/app/top-page.js b/src/app/top-page.js index 7a12edc..81b1448 100644 --- a/src/app/top-page.js +++ b/src/app/top-page.js @@ -5,6 +5,7 @@ import TorrentLine from './torrent' import {List} from 'material-ui/List'; import Subheader from 'material-ui/Subheader'; import RaisedButton from 'material-ui/RaisedButton'; +import LinearProgress from 'material-ui/LinearProgress'; export default class TopPage extends Page { constructor(props) { @@ -43,6 +44,13 @@ export default class TopPage extends Page { { window.router('/') }} /> + { + Object.keys(this.topTorrents).length == 0 + && +
+ +
+ } { this.types.map((type, index) => { const torrents = this.topTorrents[type];