1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-25 17:32:46 +01:00

parens not needed

This commit is contained in:
Kyle Spearrin 2019-03-23 12:29:19 -04:00
parent f874ec253d
commit 6f202f0637

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);
});