mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Merge pull request #215 from jlmitch5/jlm_511--inv_sources_options_change
fix options request parsing for church's changes to API
This commit is contained in:
commit
3166b12cea
@ -44,8 +44,8 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', listGenerator.name
|
||||
for (i = 0; i < choices.length; i++) {
|
||||
if (choices[i][0] !== 'file') {
|
||||
scope[variable].push({
|
||||
label: ((choices[i][0] === '') ? 'Manual' : choices[i][1]),
|
||||
value: (choices[i][0] === '') ? 'manual' : choices[i][0]
|
||||
label: choices[i][1],
|
||||
value: choices[i][0]
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user