Moving manifest/serviceworker into build script

This commit is contained in:
James Barnsley
2018-07-22 21:22:35 +12:00
parent 618d03e42d
commit fa4d039375
18 changed files with 796 additions and 751 deletions

View File

@ -367,6 +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}
{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()} />