Merging from remote
This commit is contained in:
@ -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',
|
||||
|
||||
@ -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(
|
||||
|
||||
Reference in New Issue
Block a user