Enforcing valid URIs
This commit is contained in:
@ -373,12 +373,13 @@ const PusherMiddleware = (function(){
|
||||
request(store, 'change_radio', data)
|
||||
.then(
|
||||
response => {
|
||||
store.dispatch(uiActions.processFinished('PUSHER_RADIO_PROCESS'));
|
||||
if (response.status == 0){
|
||||
store.dispatch(uiActions.createNotification(response.message, 'bad'))
|
||||
store.dispatch(uiActions.createNotification(response.message, 'bad'));
|
||||
}
|
||||
store.dispatch(uiActions.processFinished('PUSHER_RADIO_PROCESS'))
|
||||
},
|
||||
error => {
|
||||
error => {
|
||||
store.dispatch(uiActions.processFinished('PUSHER_RADIO_PROCESS'));
|
||||
store.dispatch(coreActions.handleException(
|
||||
'Could not change radio',
|
||||
error
|
||||
|
||||
Reference in New Issue
Block a user