Merge pull request #2809 from jlmitch5/fixManagmentJobScheduleEditLink

fix management job schedule edit link button

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot]
2018-11-27 17:33:07 +00:00
committed by GitHub

View File

@@ -118,7 +118,7 @@ export default [
stateParams.inventory_id = item.summary_fields.inventory.id; stateParams.inventory_id = item.summary_fields.inventory.id;
stateParams.inventory_source_id = item.summary_fields.unified_job_template.id; stateParams.inventory_source_id = item.summary_fields.unified_job_template.id;
} else if (item.summary_fields.unified_job_template.unified_job_type === 'system_job') { } else if (item.summary_fields.unified_job_template.unified_job_type === 'system_job') {
route = 'managementJobsList.schedule'; route = 'managementJobsList.schedule.edit';
stateParams.id = item.summary_fields.unified_job_template.id; stateParams.id = item.summary_fields.unified_job_template.id;
} }
} }