mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-03 02:35:12 +00:00
On load screen, always show Cancel link if a previous page is available
Before, it was only showing if a load attempt timed out, and would show even if there was no previous page to go back to.
This commit is contained in:
parent
a24c6ed281
commit
2c0b47edf2
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
|
||||||
*
|
*
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
*
|
* On load screen, always show Cancel link if a previous page is available
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ var LoadScreen = React.createClass({
|
||||||
<BusyMessage message={this.props.message} />
|
<BusyMessage message={this.props.message} />
|
||||||
</h3>
|
</h3>
|
||||||
{this.props.isWarning ? <Icon icon="icon-warning" /> : null} <span className={'load-screen__details ' + (this.props.isWarning ? 'load-screen__details--warning' : '')}>{this.props.details}</span>
|
{this.props.isWarning ? <Icon icon="icon-warning" /> : null} <span className={'load-screen__details ' + (this.props.isWarning ? 'load-screen__details--warning' : '')}>{this.props.details}</span>
|
||||||
{this.props.isWarning
|
{window.history.length > 1
|
||||||
? <div><Link label="Cancel" onClick={this.handleCancelClick} className='load-screen__cancel-link button-text' /></div>
|
? <div><Link label="Cancel" onClick={this.handleCancelClick} className='load-screen__cancel-link button-text' /></div>
|
||||||
: null}
|
: null}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue