From 328d9dbe01d489730fa80a65ade4c4eec5f4b9bd Mon Sep 17 00:00:00 2001 From: Marliana Lara Date: Tue, 17 Apr 2018 13:35:01 -0400 Subject: [PATCH] Show relaunch dropdown if job has status of "failed" --- .../lib/components/relaunchButton/relaunchButton.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/lib/components/relaunchButton/relaunchButton.component.js b/awx/ui/client/lib/components/relaunchButton/relaunchButton.component.js index f30afabf36..df97883dc4 100644 --- a/awx/ui/client/lib/components/relaunchButton/relaunchButton.component.js +++ b/awx/ui/client/lib/components/relaunchButton/relaunchButton.component.js @@ -129,7 +129,7 @@ function atRelaunchCtrl ( vm.$onInit = () => { vm.showRelaunch = vm.job.type !== 'system_job' && vm.job.summary_fields.user_capabilities.start; - vm.showDropdown = vm.job.type === 'job' && vm.job.failed === true; + vm.showDropdown = vm.job.type === 'job' && vm.job.status === 'failed'; vm.createDropdown(); vm.createTooltips();