Notifications in bottom right; Loader as notification

This commit is contained in:
James Barnsley
2017-04-03 20:58:47 +12:00
parent 84f368869e
commit 0252cf0e4f
11 changed files with 106 additions and 139 deletions

View File

@ -252,7 +252,8 @@ const UIMiddleware = (function(){
break
case 'PLAYLIST_TRACKS_ADDED':
store.dispatch(uiActions.createNotification('Added '+action.tracks_uris.length+' tracks to playlist'))
store.dispatch(uiActions.createNotification('Added '+action.tracks_uris.length+' tracks to playlist'))
switch(helpers.uriSource(action.key)){
case 'spotify':
store.dispatch(spotifyActions.getPlaylist(action.key))