mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
fix options request parsing for church's changes to API
This commit is contained in:
@@ -44,8 +44,8 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', listGenerator.name
|
|||||||
for (i = 0; i < choices.length; i++) {
|
for (i = 0; i < choices.length; i++) {
|
||||||
if (choices[i][0] !== 'file') {
|
if (choices[i][0] !== 'file') {
|
||||||
scope[variable].push({
|
scope[variable].push({
|
||||||
label: ((choices[i][0] === '') ? 'Manual' : choices[i][1]),
|
label: choices[i][1],
|
||||||
value: (choices[i][0] === '') ? 'manual' : choices[i][0]
|
value: choices[i][0]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user