adding workflow_event group for workflow results page

This commit is contained in:
jaredevantabor 2016-11-16 16:45:18 -08:00
parent d882a14d87
commit f14be79c69
2 changed files with 4 additions and 5 deletions

View File

@ -215,6 +215,9 @@ export default
if(state.data && state.data.socket && state.data.socket.groups.hasOwnProperty( "ad_hoc_command_events")){
state.data.socket.groups.ad_hoc_command_events = [id];
}
if(state.data && state.data.socket && state.data.socket.groups.hasOwnProperty( "workflow_events")){
state.data.socket.groups.workflow_events = [id];
}
self.subscribe(state);
}
return true;

View File

@ -18,11 +18,7 @@ export default {
data: {
socket: {
"groups":{
"jobs": ["status_changed", "summary"],
// not sure if you're gonna need to use job_events
// or if y'all will come up w/ a new socket group specifically
// for workflows
// "job_events": []
"workflow_events": []
}
}
},