1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00: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]; const fieldName = this.isNullOrWhitespace(field[nameKey]) ? 'no_name' : field[nameKey];
this.processKvp(cipher, fieldName, fieldValue, fieldType); this.processKvp(cipher, fieldName, fieldValue, fieldType);
}); });