mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 01:08:48 -03:30
adding workflow_event group for workflow results page
This commit is contained in:
@@ -215,6 +215,9 @@ export default
|
|||||||
if(state.data && state.data.socket && state.data.socket.groups.hasOwnProperty( "ad_hoc_command_events")){
|
if(state.data && state.data.socket && state.data.socket.groups.hasOwnProperty( "ad_hoc_command_events")){
|
||||||
state.data.socket.groups.ad_hoc_command_events = [id];
|
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);
|
self.subscribe(state);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@@ -18,11 +18,7 @@ export default {
|
|||||||
data: {
|
data: {
|
||||||
socket: {
|
socket: {
|
||||||
"groups":{
|
"groups":{
|
||||||
"jobs": ["status_changed", "summary"],
|
"workflow_events": []
|
||||||
// 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": []
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user