parens not needed

This commit is contained in:
Kyle Spearrin 2019-03-23 12:29:19 -04:00
parent f874ec253d
commit 6f202f0637
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ export class OnePassword1PifImporter extends BaseImporter implements Importer {
}
}
const fieldType = (field.k === 'concealed') ? FieldType.Hidden : FieldType.Text;
const fieldType = field.k === 'concealed' ? FieldType.Hidden : FieldType.Text;
const fieldName = this.isNullOrWhitespace(field[nameKey]) ? 'no_name' : field[nameKey];
this.processKvp(cipher, fieldName, fieldValue, fieldType);
});