Merging custom_headers and adding extra debugging to commands

This commit is contained in:
James Barnsley
2019-08-30 09:22:03 +12:00
parent eb0fd79026
commit 87d49156c7
11 changed files with 723 additions and 620 deletions

View File

@ -522,6 +522,7 @@ const PusherMiddleware = (function(){
request(store, 'run_command', {id: action.id})
.then(response => {
console.log("Command response",response);
store.dispatch(uiActions.processFinished(notification_key));
if (action.notify){
store.dispatch(uiActions.createNotification({key: notification_key, type: 'info', content: 'Command sent'}));