fix(gui): always back to main from torrent page, even torrent is loading
This commit is contained in:
parent
4d04d8f2cb
commit
2d653caaa7
@ -311,6 +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'>
|
||||||
|
<RaisedButton label={__('Back to main page')} primary={true} onClick={() => {
|
||||||
|
window.router('/')
|
||||||
|
}} />
|
||||||
|
</div>
|
||||||
<RefreshIndicator
|
<RefreshIndicator
|
||||||
size={50}
|
size={50}
|
||||||
left={0}
|
left={0}
|
||||||
|
Loading…
Reference in New Issue
Block a user