support for encryptr text column

This commit is contained in:
Kyle Spearrin 2020-02-20 16:53:01 -05:00
parent ab9bee29b8
commit 29635bf9da
1 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,14 @@ export class EncryptrCsvImporter extends BaseImporter implements Importer {
const cipher = this.initLoginCipher();
cipher.name = this.getValueOrDefault(value.Label, '--');
cipher.notes = this.getValueOrDefault(value.Notes);
const text = this.getValueOrDefault(value.Text);
if (!this.isNullOrWhitespace(text)) {
if (this.isNullOrWhitespace(cipher.notes)) {
cipher.notes = text;
} else {
cipher.notes += ('\n\n' + text);
}
}
const type = value['Entry Type'];
if (type === 'Password') {