mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 23:18:03 -03:30
Properly set use_tls initial value to bool (false)
This commit is contained in:
parent
8772ca2e3a
commit
994175f386
@ -50,7 +50,7 @@ export default typeFieldNames;
|
||||
const initialConfigValues = {};
|
||||
Object.keys(typeFieldNames).forEach(key => {
|
||||
typeFieldNames[key].forEach(fieldName => {
|
||||
const isBoolean = fieldName.includes('_ssl');
|
||||
const isBoolean = fieldName.includes('_ssl') || fieldName === 'use_tls';
|
||||
initialConfigValues[fieldName] = isBoolean ? false : '';
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user