Moving manifest/serviceworker into build script
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user