More migration to coreActions

This commit is contained in:
James Barnsley
2017-08-02 21:11:22 +12:00
parent 0c134459ea
commit 48c37b3ddf
9 changed files with 23 additions and 19 deletions

View File

@ -69,7 +69,7 @@ const SpotifyMiddleware = (function(){
break
case 'SPOTIFY_REMOVE_PLAYLIST_TRACKS':
var playlist = state.ui.playlists[action.key]
var playlist = state.core.playlists[action.key]
if( !store.getState().spotify.authorized ){
store.dispatch( uiActions.createNotification( "Must be logged in to Spotify to do that", 'bad' ) )