Removing debug; Re-setting current track state on re-render (eg after modal)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -98,7 +98,7 @@
|
||||
|
||||
// Release details
|
||||
// These are automatically injected to built HTML
|
||||
var build = "1552945839";
|
||||
var build = "1552983069";
|
||||
var version = "3.33.0";
|
||||
|
||||
// Construct the script tag
|
||||
|
||||
@ -37,6 +37,10 @@ class PlaybackControls extends React.Component{
|
||||
// Bust our cache, and by consequence, play our stream
|
||||
this.props.coreActions.cachebustHttpStream();
|
||||
}
|
||||
|
||||
if (this.props.current_track){
|
||||
this.setState({current_track: this.props.current_track});
|
||||
}
|
||||
}
|
||||
|
||||
playStream(props = this.props){
|
||||
|
||||
@ -640,7 +640,6 @@ const MopidyMiddleware = (function(){
|
||||
break;
|
||||
|
||||
case 'MOPIDY_ENQUEUE_PLAYLIST':
|
||||
console.log(action);
|
||||
|
||||
var playlist = store.getState().core.playlists[action.uri];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user