From 29635bf9da161b591dde9b64cf7fe8b9a3884c1b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 20 Feb 2020 16:53:01 -0500 Subject: [PATCH] support for encryptr text column --- src/importers/encryptrCsvImporter.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/importers/encryptrCsvImporter.ts b/src/importers/encryptrCsvImporter.ts index edd2a41a89..a1e57899e5 100644 --- a/src/importers/encryptrCsvImporter.ts +++ b/src/importers/encryptrCsvImporter.ts @@ -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') {