mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 05:55:59 -03:30
link to workflow playbook node route from workflow viewer
This commit is contained in:
@@ -769,7 +769,7 @@ export default ['$state','moment', '$timeout', '$window', '$filter', 'Rest', 'Ge
|
|||||||
let href = "";
|
let href = "";
|
||||||
if (d.job) {
|
if (d.job) {
|
||||||
if(d.job.type === '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') {
|
else if(d.job.type === 'inventory_update') {
|
||||||
href = `/#/jobs/inventory/${d.job.id}`;
|
href = `/#/jobs/inventory/${d.job.id}`;
|
||||||
@@ -1070,7 +1070,7 @@ export default ['$state','moment', '$timeout', '$window', '$filter', 'Rest', 'Ge
|
|||||||
let href = "";
|
let href = "";
|
||||||
if (d.job) {
|
if (d.job) {
|
||||||
if(d.job.type === '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') {
|
else if(d.job.type === 'inventory_update') {
|
||||||
href = `/#/jobs/inventory/${d.job.id}`;
|
href = `/#/jobs/inventory/${d.job.id}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user