mirror of
https://github.com/zoriya/flood.git
synced 2026-05-22 15:11:39 +00:00
Adjust torrent error
This commit is contained in:
@@ -125,8 +125,6 @@ export default class TorrentDetails extends React.Component {
|
||||
let selectedHash = UIStore.getTorrentDetailsHash();
|
||||
let torrent = TorrentStore.getTorrent(selectedHash);
|
||||
|
||||
console.log(torrent.message);
|
||||
|
||||
detailContent = (
|
||||
<div className="torrent-details">
|
||||
<TorrentHeading torrent={torrent} />
|
||||
|
||||
@@ -27,6 +27,7 @@ export default class TorrentHeading extends React.Component {
|
||||
let uploadTotal = format.data(torrent.uploadTotal);
|
||||
|
||||
let classes = classNames('torrent-details__heading', {
|
||||
'has-error': torrent.status.indexOf('has-error') > -1,
|
||||
'is-selected': this.props.selected,
|
||||
'is-stopped': torrent.status.indexOf('is-stopped') > -1,
|
||||
'is-paused': torrent.status.indexOf('is-paused') > -1,
|
||||
|
||||
Reference in New Issue
Block a user