Buildtask to copy files; start_url correction; Install button

This commit is contained in:
James Barnsley
2018-07-23 21:05:29 +12:00
parent 7e687fadd9
commit 0ca1aa76ad
12 changed files with 10546 additions and 13816 deletions

View File

@ -367,7 +367,7 @@ class Settings extends React.Component {
</div>
<div className="field">
{this.props.ui.install_prompt ? <button onClick={e => this.props.ui.install_prompt.prompt()}>Install as App</button> : null}
<button onClick={e => this.props.ui.install_prompt.prompt()} disabled={this.props.ui.install_prompt ? false : true}>Install as App</button>
{upgrade_button}
<button className={"destructive"+(this.props.mopidy.restarting ? ' working' : '')} onClick={e => this.props.pusherActions.restart()}>{this.props.mopidy.restarting ? 'Restarting...' : 'Restart server'}</button>
<ConfirmationButton className="destructive" content="Reset all settings" confirmingContent="Are you sure?" onConfirm={() => this.resetAllSettings()} />