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

@ -292,7 +292,7 @@ const MopidyMiddleware = (function(){
// treat empty response as a failed lookup
if( !response || response.length <= 0 ){
store.dispatch( uiActions.createNotification('Failed to load URI(s)', 'bad') )
console.error(action)
}else{
// play it
store.dispatch( mopidyActions.changeTrack( response[0].tlid ) );