mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
support for encryptr text column
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user