mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -03:30
Merge pull request #3183 from mabashian/3165-job-tag-empty-string
Fixed empty string job/skip tags bug
This commit is contained in:
@@ -42,11 +42,11 @@ export default
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(scope.ask_tags_on_launch && scope.other_prompt_data && scope.other_prompt_data.job_tags){
|
if(scope.ask_tags_on_launch && scope.other_prompt_data && typeof scope.other_prompt_data.job_tags === 'string'){
|
||||||
job_launch_data.job_tags = scope.other_prompt_data.job_tags;
|
job_launch_data.job_tags = scope.other_prompt_data.job_tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(scope.ask_skip_tags_on_launch && scope.other_prompt_data && scope.other_prompt_data.skip_tags){
|
if(scope.ask_skip_tags_on_launch && scope.other_prompt_data && typeof scope.other_prompt_data.skip_tags === 'string'){
|
||||||
job_launch_data.skip_tags = scope.other_prompt_data.skip_tags;
|
job_launch_data.skip_tags = scope.other_prompt_data.skip_tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user