From 4398c7c777f7eee56f75fe39c061561d46fb63b3 Mon Sep 17 00:00:00 2001 From: nixocio Date: Tue, 28 Sep 2021 10:23:57 -0400 Subject: [PATCH] Redirect system path to management on jobs URL When user attempts to access `/jobs/system/66` redirect to `/jobs/management/66`. This will catch management jobs notifications, for instance, and redirect to the proper URL. See:#11113 --- awx/ui/src/screens/Job/Job.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/ui/src/screens/Job/Job.js b/awx/ui/src/screens/Job/Job.js index ccc3bc3b97..ef0986bd1d 100644 --- a/awx/ui/src/screens/Job/Job.js +++ b/awx/ui/src/screens/Job/Job.js @@ -28,6 +28,7 @@ export const JOB_URL_SEGMENT_MAP = { playbook: 'job', project: 'project_update', management: 'system_job', + system: 'system_job', inventory: 'inventory_update', command: 'ad_hoc_command', workflow: 'workflow_job', @@ -148,6 +149,7 @@ function Job({ setBreadcrumb }) { +