Merging from remote

This commit is contained in:
James Barnsley
2020-05-16 18:48:25 +12:00
32 changed files with 1042 additions and 4438 deletions

View File

@ -1846,7 +1846,7 @@ const MopidyMiddleware = (function () {
case 'MOPIDY_CREATE_PLAYLIST':
request(socket, store, 'playlists.create', { name: action.name, uri_scheme: action.scheme })
.then((response) => {
store.dispatch(uiActions.createNotification({ level: 'warning', content: 'Created playlist' }));
store.dispatch(uiActions.createNotification({ content: 'Created playlist' }));
store.dispatch(coreActions.playlistLoaded(response));
store.dispatch({
type: 'MOPIDY_LIBRARY_PLAYLIST_CREATED',

View File

@ -1419,7 +1419,7 @@ export function createPlaylist(name, description, is_public, is_collaborative) {
uris: [response.uri],
});
dispatch(uiActions.createNotification({ level: 'warning', content: 'Created playlist' }));
dispatch(uiActions.createNotification({ content: 'Created playlist' }));
},
(error) => {
dispatch(coreActions.handleException(