mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Modify how manual subform is displayed for projects (#11509)
Modify how manual subform is displayed for projects - Do not rely on label that could be translated, rely on the value. See: https://github.com/ansible/awx/issues/11505
This commit is contained in:
parent
b76029fac3
commit
11f4b64229
@ -224,7 +224,7 @@ function ProjectFormFields({
|
||||
isDisabled: true,
|
||||
},
|
||||
...scmTypeOptions.map(([value, label]) => {
|
||||
if (label === 'Manual') {
|
||||
if (value === '') {
|
||||
value = 'manual';
|
||||
}
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user