1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

link to workflow playbook node route from workflow viewer

This commit is contained in:
Jake McDermott 2018-12-14 19:22:23 -05:00
parent a5c4350695
commit c8b15005b4
No known key found for this signature in database
GPG Key ID: 9A6F084352C3A0B7

View File

@ -769,7 +769,7 @@ export default ['$state','moment', '$timeout', '$window', '$filter', 'Rest', 'Ge
let href = "";
if (d.job) {
if(d.job.type === 'job') {
href = `/#/jobs/playbook/${d.job.id}`;
href = `/#/workflow_node_playbook_results/${d.job.id}`;
}
else if(d.job.type === 'inventory_update') {
href = `/#/jobs/inventory/${d.job.id}`;
@ -1070,7 +1070,7 @@ export default ['$state','moment', '$timeout', '$window', '$filter', 'Rest', 'Ge
let href = "";
if (d.job) {
if(d.job.type === 'job') {
href = `/#/jobs/playbook/${d.job.id}`;
href = `/#/workflow_node_playbook_results/${d.job.id}`;
}
else if(d.job.type === 'inventory_update') {
href = `/#/jobs/inventory/${d.job.id}`;