mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 21:46:00 -03:30
Merge pull request #369 from marshmalien/6908-diff-mode
Add diff_mode to job launch data object
This commit is contained in:
@@ -128,6 +128,9 @@ export default
|
|||||||
job_launch_data.extra_credentials.push(extraCredential.id);
|
job_launch_data.extra_credentials.push(extraCredential.id);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if(scope.ask_diff_mode_on_launch && _.has(scope, 'other_prompt_data.diff_mode')){
|
||||||
|
job_launch_data.diff_mode = scope.other_prompt_data.diff_mode;
|
||||||
|
}
|
||||||
|
|
||||||
// If the extra_vars dict is empty, we don't want to include it if we didn't prompt for anything.
|
// If the extra_vars dict is empty, we don't want to include it if we didn't prompt for anything.
|
||||||
if(jQuery.isEmptyObject(job_launch_data.extra_vars)===true && scope.prompt_for_vars===false){
|
if(jQuery.isEmptyObject(job_launch_data.extra_vars)===true && scope.prompt_for_vars===false){
|
||||||
|
|||||||
Reference in New Issue
Block a user