Beginning responsive

This commit is contained in:
James Barnsley
2016-11-21 21:46:53 +13:00
parent e3003a65db
commit 8ba3ef3b46
11 changed files with 109 additions and 4 deletions

View File

@ -217,6 +217,9 @@ const MopidyMiddleware = (function(){
if( response[i].uri.startsWith('m3u:')) response[i] = Object.assign({}, response[i], { can_edit: true })
}
store.dispatch({ type: 'MOPIDY_PLAYLISTS_LOADED', data: response });
// TODO: dispatch an action to fetch extra data for each playlist
// this will then trigger an PLAYLIST_REFRESHED action to update a specific store item
})
break;