mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 03:17:38 -02: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:
@@ -224,7 +224,7 @@ function ProjectFormFields({
|
|||||||
isDisabled: true,
|
isDisabled: true,
|
||||||
},
|
},
|
||||||
...scmTypeOptions.map(([value, label]) => {
|
...scmTypeOptions.map(([value, label]) => {
|
||||||
if (label === 'Manual') {
|
if (value === '') {
|
||||||
value = 'manual';
|
value = 'manual';
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user