mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 13:41:28 -03:30
Fixed linting errors
This commit is contained in:
parent
2ccbf5a817
commit
1cf8e3cc20
@ -101,8 +101,7 @@ function atRelaunchCtrl (
|
||||
};
|
||||
});
|
||||
} else {
|
||||
|
||||
let launchParams = {
|
||||
const launchParams = {
|
||||
id: vm.job.id,
|
||||
};
|
||||
|
||||
@ -113,11 +112,11 @@ function atRelaunchCtrl (
|
||||
}
|
||||
|
||||
jobObj.postRelaunch(launchParams)
|
||||
.then((launchRes) => {
|
||||
if (!$state.includes('jobs')) {
|
||||
$state.go('jobResult', { id: launchRes.data.id }, { reload: true });
|
||||
}
|
||||
});
|
||||
.then((launchRes) => {
|
||||
if (!$state.includes('jobs')) {
|
||||
$state.go('jobResult', { id: launchRes.data.id }, { reload: true });
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user