mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 18:37:36 -02:30
Fixed linting errors
This commit is contained in:
@@ -101,8 +101,7 @@ function atRelaunchCtrl (
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
const launchParams = {
|
||||||
let launchParams = {
|
|
||||||
id: vm.job.id,
|
id: vm.job.id,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -113,11 +112,11 @@ function atRelaunchCtrl (
|
|||||||
}
|
}
|
||||||
|
|
||||||
jobObj.postRelaunch(launchParams)
|
jobObj.postRelaunch(launchParams)
|
||||||
.then((launchRes) => {
|
.then((launchRes) => {
|
||||||
if (!$state.includes('jobs')) {
|
if (!$state.includes('jobs')) {
|
||||||
$state.go('jobResult', { id: launchRes.data.id }, { reload: true });
|
$state.go('jobResult', { id: launchRes.data.id }, { reload: true });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user