Italic font; Playlist actions (beta); Following playlists

This commit is contained in:
James Barnsley
2016-11-11 09:33:35 +13:00
parent fc9f7e7e9a
commit c0e910669c
7 changed files with 138 additions and 14 deletions

View File

@ -174,6 +174,10 @@ export default function reducer(ui = {}, action){
})
return Object.assign({}, ui, { playlist: playlist });
case 'SPOTIFY_PLAYLIST_FOLLOWING':
var playlist = Object.assign({}, ui.playlist, { following: action.data })
return Object.assign({}, ui, { playlist: playlist });
/**
* Library Playlists