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

@ -21,7 +21,7 @@ class InitialSetup extends React.Component{
super(props);
this.state = {
username: (this.props.username ? this.props.username : 'Anonymous'),
username: this.props.username,
allow_reporting: this.props.allow_reporting,
host: this.props.host,
port: this.props.port,
@ -155,7 +155,7 @@ class InitialSetup extends React.Component{
const mapStateToProps = (state, ownProps) => {
return {
allow_reporting: state.ui.allow_reporting,
username: state.pusher.username,
username: (state.pusher && state.pusher.username ? state.pusher.username : 'Anonymous'),
host: state.mopidy.host,
port: state.mopidy.port,
ssl: state.mopidy.ssl