Context menus on all key grid and list views
This commit is contained in:
@ -532,10 +532,9 @@ export function resolveRadioSeeds( radio ){
|
||||
|
||||
// add to our list of async requests
|
||||
requests.push(
|
||||
sendRequest( dispatch, getState, 'tracks/'+ track_ids )
|
||||
sendRequest( dispatch, getState, 'tracks?ids='+ track_ids )
|
||||
.then( response => {
|
||||
if (!(response instanceof Array)) response = [response]
|
||||
Object.assign(resolved_seeds.seed_tracks, response);
|
||||
Object.assign(resolved_seeds.seed_tracks, response.tracks);
|
||||
})
|
||||
)
|
||||
}
|
||||
|
||||
@ -94,7 +94,7 @@ const SpotifyMiddleware = (function(){
|
||||
|
||||
// only resolve if radio is enabled
|
||||
if( action.data.radio.enabled ){
|
||||
store.dispatch( spotifyActions.resolveRadioSeeds( action.data.radio ) )
|
||||
store.dispatch(spotifyActions.resolveRadioSeeds(action.data.radio))
|
||||
}
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user