mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 19:07:39 -02:30
Fixed recent job runs workflows link
This commit is contained in:
@@ -29,7 +29,7 @@ export default
|
|||||||
// detailsUrl, status, name, time
|
// detailsUrl, status, name, time
|
||||||
scope.jobs = _.map(list, function(job){
|
scope.jobs = _.map(list, function(job){
|
||||||
return {
|
return {
|
||||||
detailsUrl: job.url.replace("api/v1", "#"),
|
detailsUrl: job.type && job.type === 'workflow_job' ? job.url.replace("api/v1/workflow_jobs", "#/workflows") : job.url.replace("api/v1", "#"),
|
||||||
status: job.status,
|
status: job.status,
|
||||||
name: job.name,
|
name: job.name,
|
||||||
id: job.id,
|
id: job.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user