fix(gui): always back to main from torrent page, even torrent is loading

This commit is contained in:
Alexey Kasyanchuk 2018-06-18 13:36:38 +03:00
parent 4d04d8f2cb
commit 2d653caaa7

View File

@ -311,6 +311,11 @@ export default class TorrentPage extends Page {
if(this.state.searchingIndicator) {
return (
<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
size={50}
left={0}