Merge pull request #181 from lbryio/always-show-cancel
On load screen, always show Cancel link if a previous page is available
This commit is contained in:
commit
7daeb610a2
2 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
|
|||
*
|
||||
|
||||
### Fixed
|
||||
* On load screen, always show Cancel link if a previous page is available
|
||||
* When user hits "Watch," don't check balance if download already started
|
||||
*
|
||||
*
|
||||
|
|
|
@ -34,7 +34,7 @@ var LoadScreen = React.createClass({
|
|||
<BusyMessage message={this.props.message} />
|
||||
</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
|
||||
{window.history.length > 1
|
||||
? <div><Link label="Cancel" onClick={this.handleCancelClick} className='load-screen__cancel-link button-text' /></div>
|
||||
: null}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue