mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 21:19:26 -02:30
Properly set use_tls initial value to bool (false)
This commit is contained in:
committed by
Shane McDonald
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 : '';
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user