fix: Internationalization causes the project to be unable to choose manual select

This commit is contained in:
tongtie 2021-09-14 22:20:52 +08:00
parent 1f34d4c134
commit ede9d961da

View File

@ -224,7 +224,7 @@ function ProjectFormFields({
isDisabled: true,
},
...scmTypeOptions.map(([value, label]) => {
if (label === 'Manual') {
if (value === '') {
value = 'manual';
}
return {