add crypto defaults

This commit is contained in:
Josh Harvey 2017-05-24 15:59:59 +01:00
parent 3eadb45344
commit bcf72a0285
3 changed files with 22 additions and 7 deletions

View file

@ -75,7 +75,6 @@ function validateCurrentConfig () {
function decorateEnabledIf (schemaFields, schemaField) {
const code = schemaField.fieldLocator.code
const field = _.find(f => f.code === code, schemaFields)
console.log('DEBUG200: %j', [schemaField, code, field, schemaFields])
return _.set('fieldEnabledIf', field.enabledIf || [], schemaField)
}