Fixes job template schedule link from Activity Stream

This commit is contained in:
Jared Tabor 2018-05-01 15:19:44 -07:00
parent fd4f78a64c
commit a79632968c
No known key found for this signature in database
GPG Key ID: 1B343EC4C3CF7E5C

View File

@ -38,7 +38,7 @@ export default function BuildAnchor($log, $filter) {
case 'schedule':
// schedule urls depend on the resource they're associated with
if (activity.summary_fields.job_template){
url += 'job_templates/' + activity.summary_fields.job_template.id + '/schedules/' + obj.id;
url += 'templates/job_template/' + activity.summary_fields.job_template.id + '/schedules/' + obj.id;
}
else if (activity.summary_fields.project){
url += 'projects/' + activity.summary_fields.project.id + '/schedules/' + obj.id;