mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
Merge pull request #1407 from marshmalien/fix/1392-relaunch-on-failed
Show relaunch dropdown for only jobs with the status of "failed"
This commit is contained in:
commit
5f7466364b
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user