1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

Merge pull request #2470 from kialam/fix/2388-fix-activity-stream

Adjust `schedule` route params for activity stream functionality
This commit is contained in:
kialam 2018-07-10 13:23:43 -04:00 committed by GitHub
commit bf0469faad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,6 @@ const jobTemplatesSchedulesListRoute = {
data: { data: {
activityStream: true, activityStream: true,
activityStreamTarget: 'job_template', activityStreamTarget: 'job_template',
activityStreamId: 'id'
}, },
ncyBreadcrumb: { ncyBreadcrumb: {
label: N_('SCHEDULES') label: N_('SCHEDULES')
@ -97,8 +96,7 @@ const workflowSchedulesRoute = {
route: '/schedules', route: '/schedules',
data: { data: {
activityStream: true, activityStream: true,
activityStreamTarget: 'job_template', activityStreamTarget: 'workflow_job_template',
activityStreamId: 'id'
}, },
ncyBreadcrumb: { ncyBreadcrumb: {
label: N_('SCHEDULES') label: N_('SCHEDULES')
@ -186,7 +184,6 @@ const projectsSchedulesListRoute = {
data: { data: {
activityStream: true, activityStream: true,
activityStreamTarget: 'project', activityStreamTarget: 'project',
activityStreamId: 'id'
}, },
ncyBreadcrumb: { ncyBreadcrumb: {
label: N_('SCHEDULES') label: N_('SCHEDULES')