eslint fixes
This commit is contained in:
parent
3fc7a3e594
commit
b733a17643
@ -311,11 +311,11 @@ export default class TorrentPage extends Page {
|
|||||||
if(this.state.searchingIndicator) {
|
if(this.state.searchingIndicator) {
|
||||||
return (
|
return (
|
||||||
<div className='pad1 w100p column center'>
|
<div className='pad1 w100p column center'>
|
||||||
<div className='row center pad0-75'>
|
<div className='row center pad0-75'>
|
||||||
<RaisedButton label={__('Back to main page')} primary={true} onClick={() => {
|
<RaisedButton label={__('Back to main page')} primary={true} onClick={() => {
|
||||||
window.router('/')
|
window.router('/')
|
||||||
}} />
|
}} />
|
||||||
</div>
|
</div>
|
||||||
<RefreshIndicator
|
<RefreshIndicator
|
||||||
size={50}
|
size={50}
|
||||||
left={0}
|
left={0}
|
||||||
|
@ -218,9 +218,9 @@ export default class Torrent extends Component {
|
|||||||
}
|
}
|
||||||
render()
|
render()
|
||||||
{
|
{
|
||||||
const torrent = this.props.torrent;
|
const torrent = this.props.torrent;
|
||||||
if(!torrent)
|
if(!torrent)
|
||||||
return null // can try draw null torrent (for example on downloading not started)
|
return null // can try draw null torrent (for example on downloading not started)
|
||||||
|
|
||||||
let torrentRating = -1
|
let torrentRating = -1
|
||||||
if(torrent.good > 0 || torrent.bad > 0)
|
if(torrent.good > 0 || torrent.bad > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user